{
  "nbformat": 4,
  "nbformat_minor": 0,
  "metadata": {
    "colab": {
      "provenance": [],
      "toc_visible": true
    },
    "kernelspec": {
      "name": "python3",
      "display_name": "Python 3"
    },
    "language_info": {
      "name": "python"
    }
  },
  "cells": [
    {
      "cell_type": "markdown",
      "source": [
        "# Image Classification\n",
        "\n",
        "\n",
        "![JohnSnowLabs](https://nlp.johnsnowlabs.com/assets/images/logo.png)\n",
        "[![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/JohnSnowLabs/nlu/blob/master/examples/colab/component_examples/image_classification/image_classification_overview.ipynb)\n",
        "\n"
      ],
      "metadata": {
        "id": "OkOiSHgdV1yK"
      }
    },
    {
      "cell_type": "markdown",
      "source": [
        "## VIT\n",
        "\n",
        "The Vision Transformer (ViT) model was proposed in [\"An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale\"](https://arxiv.org/pdf/2010.11929.pdf) written by Alexey Dosovitskiy et al. in 2021. It is the first paper that successfully trains a Transformer encoder on ImageNet, attaining very good results compared to familiar convolutional architectures.  \n",
        "\n",
        "When pre-trained on large amounts of data and transferred to multiple mid-sized or small image recognition benchmarks (ImageNet, CIFAR-100, VTAB, etc.), Vision Transformer (ViT) attains excellent results compared to state-of-the-art convolutional networks while requiring substantially fewer computational resources to train.  \n",
        "\n",
        "Inspired by the Transformer scaling successes in NLP, the researchers experimented with applying a standard Transformer directly to images, with the fewest possible modifications. To do so,  images are split into patches and the sequence of linear embeddings of these patches were provided as an input to a  Transformer. Image patches were actually treated the same way as tokens (words) in an NLP application. Image classification models were trained in supervised fashion.  \n",
        "\n",
        "You can check [Scale Vision Transformers (ViT) Beyond Hugging Face](https://hackernoon.com/scale-vision-transformers-vit-beyond-hugging-face) article to learn deeper how ViT works and how it is implemeted in Spark NLP.\n",
        "This is Powerd by Spark-NLP's [VitForImageClassification Annotator](https://nlp.johnsnowlabs.com/docs/en/transformers#vitforimageclassification)\n",
        "\n",
        "\n",
        "\n",
        "\n",
        "![VIT](https://camo.githubusercontent.com/b27f01b616e81636a6135573bbf37a006619ab0853f7dd55ea4fb0e9e89dd33d/68747470733a2f2f692e696d6775722e636f6d2f676e31736369742e706e67)\n",
        "\n",
        "\n",
        "\n",
        "Additional blogposts and videos:\n",
        "\n",
        "\n",
        "*   [Vision Transformer (ViT) - Hugging Face](https://huggingface.co/docs/transformers/model_doc/vit)\n",
        "*   [Vision Transformers (ViT) in Image Recognition – 2022 Guide](https://viso.ai/deep-learning/vision-transformer-vit/)\n",
        "*   [Image Classification using Huggingface ViT | by Kenji Tee](https://medium.com/@kenjiteezhen/image-classification-using-huggingface-vit-261888bfa19f)\n",
        "*   [Vision Transformer for Image Classification - Video](https://www.youtube.com/watch?v=HZ4j_U3FC94)\n",
        "*   [Using Transformers for Image Classification | HuggingFace - Video](https://www.youtube.com/watch?v=Bjp7hebC67E)\n",
        "\n",
        "\n",
        "\n",
        "\n",
        "\n"
      ],
      "metadata": {
        "id": "gEt9HTvgczkw"
      }
    },
    {
      "cell_type": "code",
      "source": [
        "%%capture\n",
        "! pip install nlu\n",
        "! pip install pyspark==3.1.1"
      ],
      "metadata": {
        "id": "hvMD2nbXas8q"
      },
      "execution_count": null,
      "outputs": []
    },
    {
      "cell_type": "code",
      "source": [
        "import nlu\n",
        "# lets load a VIT Classifier model. All image classifiers are prefixed with <classify_image>\n",
        "vit = nlu.load('en.classify_image.base_patch16_224')"
      ],
      "metadata": {
        "id": "qdl1D8Xmc0K5",
        "colab": {
          "base_uri": "https://localhost:8080/"
        },
        "outputId": "919febe9-53d7-4e6a-ad6e-aa9dd433fb04"
      },
      "execution_count": null,
      "outputs": [
        {
          "output_type": "stream",
          "name": "stdout",
          "text": [
            "Warning::Spark Session already created, some configs may not take.\n",
            "image_classifier_vit_base_patch16_224 download started this may take some time.\n",
            "Approximate size to download 309.7 MB\n",
            "[OK!]\n"
          ]
        }
      ]
    },
    {
      "cell_type": "code",
      "source": [
        "# Lets download a sample image and predict on it\n",
        "! wget https://raw.githubusercontent.com/JohnSnowLabs/nlu/release/4.2.0/tests/datasets/ocr/vit/ox.jpg "
      ],
      "metadata": {
        "colab": {
          "base_uri": "https://localhost:8080/"
        },
        "id": "qu_DS19dO3vq",
        "outputId": "1fa61123-68cd-4f29-807d-7bbaf4903616"
      },
      "execution_count": null,
      "outputs": [
        {
          "output_type": "stream",
          "name": "stdout",
          "text": [
            "--2023-03-19 18:38:13--  https://raw.githubusercontent.com/JohnSnowLabs/nlu/release/4.2.0/tests/datasets/ocr/vit/ox.jpg\n",
            "Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 185.199.108.133, 185.199.109.133, 185.199.110.133, ...\n",
            "Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|185.199.108.133|:443... connected.\n",
            "HTTP request sent, awaiting response... 200 OK\n",
            "Length: 9384 (9.2K) [image/jpeg]\n",
            "Saving to: ‘ox.jpg’\n",
            "\n",
            "\rox.jpg                0%[                    ]       0  --.-KB/s               \rox.jpg              100%[===================>]   9.16K  --.-KB/s    in 0s      \n",
            "\n",
            "2023-03-19 18:38:13 (61.3 MB/s) - ‘ox.jpg’ saved [9384/9384]\n",
            "\n"
          ]
        }
      ]
    },
    {
      "cell_type": "code",
      "source": [
        "vit.predict('ox.jpg')"
      ],
      "metadata": {
        "colab": {
          "base_uri": "https://localhost:8080/",
          "height": 115
        },
        "id": "93ancuzsO5Ow",
        "outputId": "00b6b1d2-dac5-4bb7-9d24-130adbae5432"
      },
      "execution_count": null,
      "outputs": [
        {
          "output_type": "stream",
          "name": "stdout",
          "text": [
            "Warning::Spark Session already created, some configs may not take.\n",
            "Warning::Spark Session already created, some configs may not take.\n"
          ]
        },
        {
          "output_type": "execute_result",
          "data": {
            "text/plain": [
              "  classified_image_results            image_origin\n",
              "0                       ox  file:///content/ox.jpg"
            ],
            "text/html": [
              "\n",
              "  <div id=\"df-a042211f-c971-4f55-bc3f-9aa60d73d600\">\n",
              "    <div class=\"colab-df-container\">\n",
              "      <div>\n",
              "<style scoped>\n",
              "    .dataframe tbody tr th:only-of-type {\n",
              "        vertical-align: middle;\n",
              "    }\n",
              "\n",
              "    .dataframe tbody tr th {\n",
              "        vertical-align: top;\n",
              "    }\n",
              "\n",
              "    .dataframe thead th {\n",
              "        text-align: right;\n",
              "    }\n",
              "</style>\n",
              "<table border=\"1\" class=\"dataframe\">\n",
              "  <thead>\n",
              "    <tr style=\"text-align: right;\">\n",
              "      <th></th>\n",
              "      <th>classified_image_results</th>\n",
              "      <th>image_origin</th>\n",
              "    </tr>\n",
              "  </thead>\n",
              "  <tbody>\n",
              "    <tr>\n",
              "      <th>0</th>\n",
              "      <td>ox</td>\n",
              "      <td>file:///content/ox.jpg</td>\n",
              "    </tr>\n",
              "  </tbody>\n",
              "</table>\n",
              "</div>\n",
              "      <button class=\"colab-df-convert\" onclick=\"convertToInteractive('df-a042211f-c971-4f55-bc3f-9aa60d73d600')\"\n",
              "              title=\"Convert this dataframe to an interactive table.\"\n",
              "              style=\"display:none;\">\n",
              "        \n",
              "  <svg xmlns=\"http://www.w3.org/2000/svg\" height=\"24px\"viewBox=\"0 0 24 24\"\n",
              "       width=\"24px\">\n",
              "    <path d=\"M0 0h24v24H0V0z\" fill=\"none\"/>\n",
              "    <path d=\"M18.56 5.44l.94 2.06.94-2.06 2.06-.94-2.06-.94-.94-2.06-.94 2.06-2.06.94zm-11 1L8.5 8.5l.94-2.06 2.06-.94-2.06-.94L8.5 2.5l-.94 2.06-2.06.94zm10 10l.94 2.06.94-2.06 2.06-.94-2.06-.94-.94-2.06-.94 2.06-2.06.94z\"/><path d=\"M17.41 7.96l-1.37-1.37c-.4-.4-.92-.59-1.43-.59-.52 0-1.04.2-1.43.59L10.3 9.45l-7.72 7.72c-.78.78-.78 2.05 0 2.83L4 21.41c.39.39.9.59 1.41.59.51 0 1.02-.2 1.41-.59l7.78-7.78 2.81-2.81c.8-.78.8-2.07 0-2.86zM5.41 20L4 18.59l7.72-7.72 1.47 1.35L5.41 20z\"/>\n",
              "  </svg>\n",
              "      </button>\n",
              "      \n",
              "  <style>\n",
              "    .colab-df-container {\n",
              "      display:flex;\n",
              "      flex-wrap:wrap;\n",
              "      gap: 12px;\n",
              "    }\n",
              "\n",
              "    .colab-df-convert {\n",
              "      background-color: #E8F0FE;\n",
              "      border: none;\n",
              "      border-radius: 50%;\n",
              "      cursor: pointer;\n",
              "      display: none;\n",
              "      fill: #1967D2;\n",
              "      height: 32px;\n",
              "      padding: 0 0 0 0;\n",
              "      width: 32px;\n",
              "    }\n",
              "\n",
              "    .colab-df-convert:hover {\n",
              "      background-color: #E2EBFA;\n",
              "      box-shadow: 0px 1px 2px rgba(60, 64, 67, 0.3), 0px 1px 3px 1px rgba(60, 64, 67, 0.15);\n",
              "      fill: #174EA6;\n",
              "    }\n",
              "\n",
              "    [theme=dark] .colab-df-convert {\n",
              "      background-color: #3B4455;\n",
              "      fill: #D2E3FC;\n",
              "    }\n",
              "\n",
              "    [theme=dark] .colab-df-convert:hover {\n",
              "      background-color: #434B5C;\n",
              "      box-shadow: 0px 1px 3px 1px rgba(0, 0, 0, 0.15);\n",
              "      filter: drop-shadow(0px 1px 2px rgba(0, 0, 0, 0.3));\n",
              "      fill: #FFFFFF;\n",
              "    }\n",
              "  </style>\n",
              "\n",
              "      <script>\n",
              "        const buttonEl =\n",
              "          document.querySelector('#df-a042211f-c971-4f55-bc3f-9aa60d73d600 button.colab-df-convert');\n",
              "        buttonEl.style.display =\n",
              "          google.colab.kernel.accessAllowed ? 'block' : 'none';\n",
              "\n",
              "        async function convertToInteractive(key) {\n",
              "          const element = document.querySelector('#df-a042211f-c971-4f55-bc3f-9aa60d73d600');\n",
              "          const dataTable =\n",
              "            await google.colab.kernel.invokeFunction('convertToInteractive',\n",
              "                                                     [key], {});\n",
              "          if (!dataTable) return;\n",
              "\n",
              "          const docLinkHtml = 'Like what you see? Visit the ' +\n",
              "            '<a target=\"_blank\" href=https://colab.research.google.com/notebooks/data_table.ipynb>data table notebook</a>'\n",
              "            + ' to learn more about interactive tables.';\n",
              "          element.innerHTML = '';\n",
              "          dataTable['output_type'] = 'display_data';\n",
              "          await google.colab.output.renderOutput(dataTable, element);\n",
              "          const docLink = document.createElement('div');\n",
              "          docLink.innerHTML = docLinkHtml;\n",
              "          element.appendChild(docLink);\n",
              "        }\n",
              "      </script>\n",
              "    </div>\n",
              "  </div>\n",
              "  "
            ]
          },
          "metadata": {},
          "execution_count": 4
        }
      ]
    },
    {
      "cell_type": "code",
      "source": [
        "# Lets downlod a folder of images and predict on it \n",
        "!wget -q https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/resources/en/images/images.zip\n",
        "import shutil\n",
        "shutil.unpack_archive(\"images.zip\", \"images\", \"zip\")\n",
        "! ls /content/images/images/"
      ],
      "metadata": {
        "colab": {
          "base_uri": "https://localhost:8080/"
        },
        "id": "oxI3r08gk_uz",
        "outputId": "5f8c8133-ba8b-4548-f970-4364671dfb1e"
      },
      "execution_count": null,
      "outputs": [
        {
          "output_type": "stream",
          "name": "stdout",
          "text": [
            "bluetick.jpg   egyptian_cat.jpeg  hippopotamus.JPEG  ostrich.JPEG  palace.JPEG\n",
            "chihuahua.jpg  hen.JPEG\t\t  junco.JPEG\t     ox.JPEG\t   tractor.JPEG\n"
          ]
        }
      ]
    },
    {
      "cell_type": "code",
      "source": [
        "# We can just input the path to the folder, all acceptable image files will be detected based on the file endings\n",
        "nlu.load('en.classify_image.base_patch16_224').predict('/content/images/images')"
      ],
      "metadata": {
        "colab": {
          "base_uri": "https://localhost:8080/",
          "height": 484
        },
        "id": "yXqgaAea4iDv",
        "outputId": "92ef98e7-e11e-464a-da32-516c9f754d2e"
      },
      "execution_count": null,
      "outputs": [
        {
          "output_type": "stream",
          "name": "stdout",
          "text": [
            "Warning::Spark Session already created, some configs may not take.\n",
            "Warning::Spark Session already created, some configs may not take.\n",
            "image_classifier_vit_base_patch16_224 download started this may take some time.\n",
            "Approximate size to download 309.7 MB\n",
            "[OK!]\n",
            "Warning::Spark Session already created, some configs may not take.\n",
            "Warning::Spark Session already created, some configs may not take.\n"
          ]
        },
        {
          "output_type": "execute_result",
          "data": {
            "text/plain": [
              "                            classified_image_results  \\\n",
              "0                                             palace   \n",
              "1                                       Egyptian cat   \n",
              "2  hippopotamus, hippo, river horse, Hippopotamus...   \n",
              "3                                                hen   \n",
              "4                          ostrich, Struthio camelus   \n",
              "5                                    junco, snowbird   \n",
              "6                                           bluetick   \n",
              "7                                          Chihuahua   \n",
              "8                                            tractor   \n",
              "9                                                 ox   \n",
              "\n",
              "                                      image_origin  \n",
              "0        file:///content/images/images/palace.JPEG  \n",
              "1  file:///content/images/images/egyptian_cat.jpeg  \n",
              "2  file:///content/images/images/hippopotamus.JPEG  \n",
              "3           file:///content/images/images/hen.JPEG  \n",
              "4       file:///content/images/images/ostrich.JPEG  \n",
              "5         file:///content/images/images/junco.JPEG  \n",
              "6       file:///content/images/images/bluetick.jpg  \n",
              "7      file:///content/images/images/chihuahua.jpg  \n",
              "8       file:///content/images/images/tractor.JPEG  \n",
              "9            file:///content/images/images/ox.JPEG  "
            ],
            "text/html": [
              "\n",
              "  <div id=\"df-8eceb38e-4dc7-46f5-8e72-00f86a0a7246\">\n",
              "    <div class=\"colab-df-container\">\n",
              "      <div>\n",
              "<style scoped>\n",
              "    .dataframe tbody tr th:only-of-type {\n",
              "        vertical-align: middle;\n",
              "    }\n",
              "\n",
              "    .dataframe tbody tr th {\n",
              "        vertical-align: top;\n",
              "    }\n",
              "\n",
              "    .dataframe thead th {\n",
              "        text-align: right;\n",
              "    }\n",
              "</style>\n",
              "<table border=\"1\" class=\"dataframe\">\n",
              "  <thead>\n",
              "    <tr style=\"text-align: right;\">\n",
              "      <th></th>\n",
              "      <th>classified_image_results</th>\n",
              "      <th>image_origin</th>\n",
              "    </tr>\n",
              "  </thead>\n",
              "  <tbody>\n",
              "    <tr>\n",
              "      <th>0</th>\n",
              "      <td>palace</td>\n",
              "      <td>file:///content/images/images/palace.JPEG</td>\n",
              "    </tr>\n",
              "    <tr>\n",
              "      <th>1</th>\n",
              "      <td>Egyptian cat</td>\n",
              "      <td>file:///content/images/images/egyptian_cat.jpeg</td>\n",
              "    </tr>\n",
              "    <tr>\n",
              "      <th>2</th>\n",
              "      <td>hippopotamus, hippo, river horse, Hippopotamus...</td>\n",
              "      <td>file:///content/images/images/hippopotamus.JPEG</td>\n",
              "    </tr>\n",
              "    <tr>\n",
              "      <th>3</th>\n",
              "      <td>hen</td>\n",
              "      <td>file:///content/images/images/hen.JPEG</td>\n",
              "    </tr>\n",
              "    <tr>\n",
              "      <th>4</th>\n",
              "      <td>ostrich, Struthio camelus</td>\n",
              "      <td>file:///content/images/images/ostrich.JPEG</td>\n",
              "    </tr>\n",
              "    <tr>\n",
              "      <th>5</th>\n",
              "      <td>junco, snowbird</td>\n",
              "      <td>file:///content/images/images/junco.JPEG</td>\n",
              "    </tr>\n",
              "    <tr>\n",
              "      <th>6</th>\n",
              "      <td>bluetick</td>\n",
              "      <td>file:///content/images/images/bluetick.jpg</td>\n",
              "    </tr>\n",
              "    <tr>\n",
              "      <th>7</th>\n",
              "      <td>Chihuahua</td>\n",
              "      <td>file:///content/images/images/chihuahua.jpg</td>\n",
              "    </tr>\n",
              "    <tr>\n",
              "      <th>8</th>\n",
              "      <td>tractor</td>\n",
              "      <td>file:///content/images/images/tractor.JPEG</td>\n",
              "    </tr>\n",
              "    <tr>\n",
              "      <th>9</th>\n",
              "      <td>ox</td>\n",
              "      <td>file:///content/images/images/ox.JPEG</td>\n",
              "    </tr>\n",
              "  </tbody>\n",
              "</table>\n",
              "</div>\n",
              "      <button class=\"colab-df-convert\" onclick=\"convertToInteractive('df-8eceb38e-4dc7-46f5-8e72-00f86a0a7246')\"\n",
              "              title=\"Convert this dataframe to an interactive table.\"\n",
              "              style=\"display:none;\">\n",
              "        \n",
              "  <svg xmlns=\"http://www.w3.org/2000/svg\" height=\"24px\"viewBox=\"0 0 24 24\"\n",
              "       width=\"24px\">\n",
              "    <path d=\"M0 0h24v24H0V0z\" fill=\"none\"/>\n",
              "    <path d=\"M18.56 5.44l.94 2.06.94-2.06 2.06-.94-2.06-.94-.94-2.06-.94 2.06-2.06.94zm-11 1L8.5 8.5l.94-2.06 2.06-.94-2.06-.94L8.5 2.5l-.94 2.06-2.06.94zm10 10l.94 2.06.94-2.06 2.06-.94-2.06-.94-.94-2.06-.94 2.06-2.06.94z\"/><path d=\"M17.41 7.96l-1.37-1.37c-.4-.4-.92-.59-1.43-.59-.52 0-1.04.2-1.43.59L10.3 9.45l-7.72 7.72c-.78.78-.78 2.05 0 2.83L4 21.41c.39.39.9.59 1.41.59.51 0 1.02-.2 1.41-.59l7.78-7.78 2.81-2.81c.8-.78.8-2.07 0-2.86zM5.41 20L4 18.59l7.72-7.72 1.47 1.35L5.41 20z\"/>\n",
              "  </svg>\n",
              "      </button>\n",
              "      \n",
              "  <style>\n",
              "    .colab-df-container {\n",
              "      display:flex;\n",
              "      flex-wrap:wrap;\n",
              "      gap: 12px;\n",
              "    }\n",
              "\n",
              "    .colab-df-convert {\n",
              "      background-color: #E8F0FE;\n",
              "      border: none;\n",
              "      border-radius: 50%;\n",
              "      cursor: pointer;\n",
              "      display: none;\n",
              "      fill: #1967D2;\n",
              "      height: 32px;\n",
              "      padding: 0 0 0 0;\n",
              "      width: 32px;\n",
              "    }\n",
              "\n",
              "    .colab-df-convert:hover {\n",
              "      background-color: #E2EBFA;\n",
              "      box-shadow: 0px 1px 2px rgba(60, 64, 67, 0.3), 0px 1px 3px 1px rgba(60, 64, 67, 0.15);\n",
              "      fill: #174EA6;\n",
              "    }\n",
              "\n",
              "    [theme=dark] .colab-df-convert {\n",
              "      background-color: #3B4455;\n",
              "      fill: #D2E3FC;\n",
              "    }\n",
              "\n",
              "    [theme=dark] .colab-df-convert:hover {\n",
              "      background-color: #434B5C;\n",
              "      box-shadow: 0px 1px 3px 1px rgba(0, 0, 0, 0.15);\n",
              "      filter: drop-shadow(0px 1px 2px rgba(0, 0, 0, 0.3));\n",
              "      fill: #FFFFFF;\n",
              "    }\n",
              "  </style>\n",
              "\n",
              "      <script>\n",
              "        const buttonEl =\n",
              "          document.querySelector('#df-8eceb38e-4dc7-46f5-8e72-00f86a0a7246 button.colab-df-convert');\n",
              "        buttonEl.style.display =\n",
              "          google.colab.kernel.accessAllowed ? 'block' : 'none';\n",
              "\n",
              "        async function convertToInteractive(key) {\n",
              "          const element = document.querySelector('#df-8eceb38e-4dc7-46f5-8e72-00f86a0a7246');\n",
              "          const dataTable =\n",
              "            await google.colab.kernel.invokeFunction('convertToInteractive',\n",
              "                                                     [key], {});\n",
              "          if (!dataTable) return;\n",
              "\n",
              "          const docLinkHtml = 'Like what you see? Visit the ' +\n",
              "            '<a target=\"_blank\" href=https://colab.research.google.com/notebooks/data_table.ipynb>data table notebook</a>'\n",
              "            + ' to learn more about interactive tables.';\n",
              "          element.innerHTML = '';\n",
              "          dataTable['output_type'] = 'display_data';\n",
              "          await google.colab.output.renderOutput(dataTable, element);\n",
              "          const docLink = document.createElement('div');\n",
              "          docLink.innerHTML = docLinkHtml;\n",
              "          element.appendChild(docLink);\n",
              "        }\n",
              "      </script>\n",
              "    </div>\n",
              "  </div>\n",
              "  "
            ]
          },
          "metadata": {},
          "execution_count": 7
        }
      ]
    },
    {
      "cell_type": "code",
      "source": [
        "# We can also pass an array of absolute image paths and predict on that\n",
        "import os \n",
        "paths = [f'/content/images/images/{p}' for p in os.listdir('/content/images/images')]\n",
        "print('predicting on paths :'+ \"\\n\".join(paths))\n",
        "vit.predict(paths)"
      ],
      "metadata": {
        "colab": {
          "base_uri": "https://localhost:8080/",
          "height": 571
        },
        "id": "rgG2Dq9qmDnn",
        "outputId": "9b3685d2-24c4-4b03-df0b-d822deeff5fa"
      },
      "execution_count": null,
      "outputs": [
        {
          "output_type": "stream",
          "name": "stdout",
          "text": [
            "predicting on paths :/content/images/images/hippopotamus.JPEG\n",
            "/content/images/images/ostrich.JPEG\n",
            "/content/images/images/chihuahua.jpg\n",
            "/content/images/images/tractor.JPEG\n",
            "/content/images/images/.DS_Store\n",
            "/content/images/images/egyptian_cat.jpeg\n",
            "/content/images/images/junco.JPEG\n",
            "/content/images/images/palace.JPEG\n",
            "/content/images/images/hen.JPEG\n",
            "/content/images/images/bluetick.jpg\n",
            "/content/images/images/ox.JPEG\n",
            "Warning::Spark Session already created, some configs may not take.\n"
          ]
        },
        {
          "output_type": "execute_result",
          "data": {
            "text/plain": [
              "                            classified_image_results  \\\n",
              "0                                             palace   \n",
              "1                                       Egyptian cat   \n",
              "2  hippopotamus, hippo, river horse, Hippopotamus...   \n",
              "3                                                hen   \n",
              "4                          ostrich, Struthio camelus   \n",
              "5                                    junco, snowbird   \n",
              "6                                           bluetick   \n",
              "7                                          Chihuahua   \n",
              "8                                            tractor   \n",
              "9                                                 ox   \n",
              "\n",
              "                                      image_origin  \n",
              "0        file:///content/images/images/palace.JPEG  \n",
              "1  file:///content/images/images/egyptian_cat.jpeg  \n",
              "2  file:///content/images/images/hippopotamus.JPEG  \n",
              "3           file:///content/images/images/hen.JPEG  \n",
              "4       file:///content/images/images/ostrich.JPEG  \n",
              "5         file:///content/images/images/junco.JPEG  \n",
              "6       file:///content/images/images/bluetick.jpg  \n",
              "7      file:///content/images/images/chihuahua.jpg  \n",
              "8       file:///content/images/images/tractor.JPEG  \n",
              "9            file:///content/images/images/ox.JPEG  "
            ],
            "text/html": [
              "\n",
              "  <div id=\"df-9fe7d7ef-4032-4cf3-be3c-80014f061649\">\n",
              "    <div class=\"colab-df-container\">\n",
              "      <div>\n",
              "<style scoped>\n",
              "    .dataframe tbody tr th:only-of-type {\n",
              "        vertical-align: middle;\n",
              "    }\n",
              "\n",
              "    .dataframe tbody tr th {\n",
              "        vertical-align: top;\n",
              "    }\n",
              "\n",
              "    .dataframe thead th {\n",
              "        text-align: right;\n",
              "    }\n",
              "</style>\n",
              "<table border=\"1\" class=\"dataframe\">\n",
              "  <thead>\n",
              "    <tr style=\"text-align: right;\">\n",
              "      <th></th>\n",
              "      <th>classified_image_results</th>\n",
              "      <th>image_origin</th>\n",
              "    </tr>\n",
              "  </thead>\n",
              "  <tbody>\n",
              "    <tr>\n",
              "      <th>0</th>\n",
              "      <td>palace</td>\n",
              "      <td>file:///content/images/images/palace.JPEG</td>\n",
              "    </tr>\n",
              "    <tr>\n",
              "      <th>1</th>\n",
              "      <td>Egyptian cat</td>\n",
              "      <td>file:///content/images/images/egyptian_cat.jpeg</td>\n",
              "    </tr>\n",
              "    <tr>\n",
              "      <th>2</th>\n",
              "      <td>hippopotamus, hippo, river horse, Hippopotamus...</td>\n",
              "      <td>file:///content/images/images/hippopotamus.JPEG</td>\n",
              "    </tr>\n",
              "    <tr>\n",
              "      <th>3</th>\n",
              "      <td>hen</td>\n",
              "      <td>file:///content/images/images/hen.JPEG</td>\n",
              "    </tr>\n",
              "    <tr>\n",
              "      <th>4</th>\n",
              "      <td>ostrich, Struthio camelus</td>\n",
              "      <td>file:///content/images/images/ostrich.JPEG</td>\n",
              "    </tr>\n",
              "    <tr>\n",
              "      <th>5</th>\n",
              "      <td>junco, snowbird</td>\n",
              "      <td>file:///content/images/images/junco.JPEG</td>\n",
              "    </tr>\n",
              "    <tr>\n",
              "      <th>6</th>\n",
              "      <td>bluetick</td>\n",
              "      <td>file:///content/images/images/bluetick.jpg</td>\n",
              "    </tr>\n",
              "    <tr>\n",
              "      <th>7</th>\n",
              "      <td>Chihuahua</td>\n",
              "      <td>file:///content/images/images/chihuahua.jpg</td>\n",
              "    </tr>\n",
              "    <tr>\n",
              "      <th>8</th>\n",
              "      <td>tractor</td>\n",
              "      <td>file:///content/images/images/tractor.JPEG</td>\n",
              "    </tr>\n",
              "    <tr>\n",
              "      <th>9</th>\n",
              "      <td>ox</td>\n",
              "      <td>file:///content/images/images/ox.JPEG</td>\n",
              "    </tr>\n",
              "  </tbody>\n",
              "</table>\n",
              "</div>\n",
              "      <button class=\"colab-df-convert\" onclick=\"convertToInteractive('df-9fe7d7ef-4032-4cf3-be3c-80014f061649')\"\n",
              "              title=\"Convert this dataframe to an interactive table.\"\n",
              "              style=\"display:none;\">\n",
              "        \n",
              "  <svg xmlns=\"http://www.w3.org/2000/svg\" height=\"24px\"viewBox=\"0 0 24 24\"\n",
              "       width=\"24px\">\n",
              "    <path d=\"M0 0h24v24H0V0z\" fill=\"none\"/>\n",
              "    <path d=\"M18.56 5.44l.94 2.06.94-2.06 2.06-.94-2.06-.94-.94-2.06-.94 2.06-2.06.94zm-11 1L8.5 8.5l.94-2.06 2.06-.94-2.06-.94L8.5 2.5l-.94 2.06-2.06.94zm10 10l.94 2.06.94-2.06 2.06-.94-2.06-.94-.94-2.06-.94 2.06-2.06.94z\"/><path d=\"M17.41 7.96l-1.37-1.37c-.4-.4-.92-.59-1.43-.59-.52 0-1.04.2-1.43.59L10.3 9.45l-7.72 7.72c-.78.78-.78 2.05 0 2.83L4 21.41c.39.39.9.59 1.41.59.51 0 1.02-.2 1.41-.59l7.78-7.78 2.81-2.81c.8-.78.8-2.07 0-2.86zM5.41 20L4 18.59l7.72-7.72 1.47 1.35L5.41 20z\"/>\n",
              "  </svg>\n",
              "      </button>\n",
              "      \n",
              "  <style>\n",
              "    .colab-df-container {\n",
              "      display:flex;\n",
              "      flex-wrap:wrap;\n",
              "      gap: 12px;\n",
              "    }\n",
              "\n",
              "    .colab-df-convert {\n",
              "      background-color: #E8F0FE;\n",
              "      border: none;\n",
              "      border-radius: 50%;\n",
              "      cursor: pointer;\n",
              "      display: none;\n",
              "      fill: #1967D2;\n",
              "      height: 32px;\n",
              "      padding: 0 0 0 0;\n",
              "      width: 32px;\n",
              "    }\n",
              "\n",
              "    .colab-df-convert:hover {\n",
              "      background-color: #E2EBFA;\n",
              "      box-shadow: 0px 1px 2px rgba(60, 64, 67, 0.3), 0px 1px 3px 1px rgba(60, 64, 67, 0.15);\n",
              "      fill: #174EA6;\n",
              "    }\n",
              "\n",
              "    [theme=dark] .colab-df-convert {\n",
              "      background-color: #3B4455;\n",
              "      fill: #D2E3FC;\n",
              "    }\n",
              "\n",
              "    [theme=dark] .colab-df-convert:hover {\n",
              "      background-color: #434B5C;\n",
              "      box-shadow: 0px 1px 3px 1px rgba(0, 0, 0, 0.15);\n",
              "      filter: drop-shadow(0px 1px 2px rgba(0, 0, 0, 0.3));\n",
              "      fill: #FFFFFF;\n",
              "    }\n",
              "  </style>\n",
              "\n",
              "      <script>\n",
              "        const buttonEl =\n",
              "          document.querySelector('#df-9fe7d7ef-4032-4cf3-be3c-80014f061649 button.colab-df-convert');\n",
              "        buttonEl.style.display =\n",
              "          google.colab.kernel.accessAllowed ? 'block' : 'none';\n",
              "\n",
              "        async function convertToInteractive(key) {\n",
              "          const element = document.querySelector('#df-9fe7d7ef-4032-4cf3-be3c-80014f061649');\n",
              "          const dataTable =\n",
              "            await google.colab.kernel.invokeFunction('convertToInteractive',\n",
              "                                                     [key], {});\n",
              "          if (!dataTable) return;\n",
              "\n",
              "          const docLinkHtml = 'Like what you see? Visit the ' +\n",
              "            '<a target=\"_blank\" href=https://colab.research.google.com/notebooks/data_table.ipynb>data table notebook</a>'\n",
              "            + ' to learn more about interactive tables.';\n",
              "          element.innerHTML = '';\n",
              "          dataTable['output_type'] = 'display_data';\n",
              "          await google.colab.output.renderOutput(dataTable, element);\n",
              "          const docLink = document.createElement('div');\n",
              "          docLink.innerHTML = docLinkHtml;\n",
              "          element.appendChild(docLink);\n",
              "        }\n",
              "      </script>\n",
              "    </div>\n",
              "  </div>\n",
              "  "
            ]
          },
          "metadata": {},
          "execution_count": 8
        }
      ]
    },
    {
      "cell_type": "markdown",
      "source": [
        "## SWIN \n",
        "\n",
        "SWIN is a hierarchical Transformer whose\n",
        "representation is computed with Shifted windows. The\n",
        "shifted windowing scheme brings greater efficiency by limiting self-attention computation to non-overlapping local\n",
        "windows while also allowing for cross-window connection.\n",
        "This hierarchical architecture has the flexibility to model\n",
        "at various scales and has linear computational complexity\n",
        "with respect to image size. These qualities of Swin Transformer make it compatible with a broad range of vision\n",
        "tasks\n",
        "This is powerd by Spark-NLP's [Swin For Image Classification](https://nlp.johnsnowlabs.com/docs/en/transformers#swinforimageclassification)\n",
        "\n",
        "\n",
        "[Swin Transformer: Hierarchical Vision Transformer using Shifted Windows](https://arxiv.org/abs/2103.14030) by Ze Liu, Yutong Lin, Yue Cao, Han Hu, Yixuan Wei, Zheng Zhang, Stephen Lin, Baining Guo.\n",
        "\n",
        "![swin](https://user-images.githubusercontent.com/5762953/217882453-bfc4d585-f21b-4401-bdcb-14788973c159.png)\n",
        "\n",
        "\n",
        "\n",
        "\n"
      ],
      "metadata": {
        "id": "C0wzeT7Ef5Eu"
      }
    },
    {
      "cell_type": "code",
      "source": [
        "import nlu \n",
        "# Using swin works exactly the same as using VIT\n",
        "swin = nlu.load('en.classify_image.swin.tiny')"
      ],
      "metadata": {
        "colab": {
          "base_uri": "https://localhost:8080/"
        },
        "id": "kQGDtYXqgFNc",
        "outputId": "e2681f89-2307-42e3-f746-984fff8bb724"
      },
      "execution_count": null,
      "outputs": [
        {
          "output_type": "stream",
          "name": "stdout",
          "text": [
            "Warning::Spark Session already created, some configs may not take.\n",
            "Warning::Spark Session already created, some configs may not take.\n",
            "image_classifier_swin_tiny_patch4_window7_224 download started this may take some time.\n",
            "Approximate size to download 206.2 MB\n",
            "[OK!]\n"
          ]
        }
      ]
    },
    {
      "cell_type": "code",
      "source": [
        "! ls /content/images/images/"
      ],
      "metadata": {
        "colab": {
          "base_uri": "https://localhost:8080/"
        },
        "id": "pVGjciawggmB",
        "outputId": "357b2ef7-cc5a-42da-ebbd-f5f37e00be15"
      },
      "execution_count": null,
      "outputs": [
        {
          "output_type": "stream",
          "name": "stdout",
          "text": [
            "bluetick.jpg   egyptian_cat.jpeg  hippopotamus.JPEG  ostrich.JPEG  palace.JPEG\n",
            "chihuahua.jpg  hen.JPEG\t\t  junco.JPEG\t     ox.JPEG\t   tractor.JPEG\n"
          ]
        }
      ]
    },
    {
      "cell_type": "code",
      "source": [
        "# We can just input the path to the folder, all acceptable image files will be detected based on the file endings\n",
        "swin.predict('/content/images/images')"
      ],
      "metadata": {
        "colab": {
          "base_uri": "https://localhost:8080/",
          "height": 398
        },
        "outputId": "a00067aa-7814-400b-d321-37b3af9f7b64",
        "id": "JvwGuoKmgnoF"
      },
      "execution_count": null,
      "outputs": [
        {
          "output_type": "stream",
          "name": "stdout",
          "text": [
            "Warning::Spark Session already created, some configs may not take.\n",
            "Warning::Spark Session already created, some configs may not take.\n"
          ]
        },
        {
          "output_type": "execute_result",
          "data": {
            "text/plain": [
              "                            classified_image_results  \\\n",
              "0                                             palace   \n",
              "1                                   tabby, tabby cat   \n",
              "2  hippopotamus, hippo, river horse, Hippopotamus...   \n",
              "3                                                hen   \n",
              "4                          ostrich, Struthio camelus   \n",
              "5                                    junco, snowbird   \n",
              "6                                           bluetick   \n",
              "7                                          Chihuahua   \n",
              "8                                            tractor   \n",
              "9                                                 ox   \n",
              "\n",
              "                                      image_origin  \n",
              "0        file:///content/images/images/palace.JPEG  \n",
              "1  file:///content/images/images/egyptian_cat.jpeg  \n",
              "2  file:///content/images/images/hippopotamus.JPEG  \n",
              "3           file:///content/images/images/hen.JPEG  \n",
              "4       file:///content/images/images/ostrich.JPEG  \n",
              "5         file:///content/images/images/junco.JPEG  \n",
              "6       file:///content/images/images/bluetick.jpg  \n",
              "7      file:///content/images/images/chihuahua.jpg  \n",
              "8       file:///content/images/images/tractor.JPEG  \n",
              "9            file:///content/images/images/ox.JPEG  "
            ],
            "text/html": [
              "\n",
              "  <div id=\"df-7325391d-9093-45de-b2ab-d273b7ac1bf8\">\n",
              "    <div class=\"colab-df-container\">\n",
              "      <div>\n",
              "<style scoped>\n",
              "    .dataframe tbody tr th:only-of-type {\n",
              "        vertical-align: middle;\n",
              "    }\n",
              "\n",
              "    .dataframe tbody tr th {\n",
              "        vertical-align: top;\n",
              "    }\n",
              "\n",
              "    .dataframe thead th {\n",
              "        text-align: right;\n",
              "    }\n",
              "</style>\n",
              "<table border=\"1\" class=\"dataframe\">\n",
              "  <thead>\n",
              "    <tr style=\"text-align: right;\">\n",
              "      <th></th>\n",
              "      <th>classified_image_results</th>\n",
              "      <th>image_origin</th>\n",
              "    </tr>\n",
              "  </thead>\n",
              "  <tbody>\n",
              "    <tr>\n",
              "      <th>0</th>\n",
              "      <td>palace</td>\n",
              "      <td>file:///content/images/images/palace.JPEG</td>\n",
              "    </tr>\n",
              "    <tr>\n",
              "      <th>1</th>\n",
              "      <td>tabby, tabby cat</td>\n",
              "      <td>file:///content/images/images/egyptian_cat.jpeg</td>\n",
              "    </tr>\n",
              "    <tr>\n",
              "      <th>2</th>\n",
              "      <td>hippopotamus, hippo, river horse, Hippopotamus...</td>\n",
              "      <td>file:///content/images/images/hippopotamus.JPEG</td>\n",
              "    </tr>\n",
              "    <tr>\n",
              "      <th>3</th>\n",
              "      <td>hen</td>\n",
              "      <td>file:///content/images/images/hen.JPEG</td>\n",
              "    </tr>\n",
              "    <tr>\n",
              "      <th>4</th>\n",
              "      <td>ostrich, Struthio camelus</td>\n",
              "      <td>file:///content/images/images/ostrich.JPEG</td>\n",
              "    </tr>\n",
              "    <tr>\n",
              "      <th>5</th>\n",
              "      <td>junco, snowbird</td>\n",
              "      <td>file:///content/images/images/junco.JPEG</td>\n",
              "    </tr>\n",
              "    <tr>\n",
              "      <th>6</th>\n",
              "      <td>bluetick</td>\n",
              "      <td>file:///content/images/images/bluetick.jpg</td>\n",
              "    </tr>\n",
              "    <tr>\n",
              "      <th>7</th>\n",
              "      <td>Chihuahua</td>\n",
              "      <td>file:///content/images/images/chihuahua.jpg</td>\n",
              "    </tr>\n",
              "    <tr>\n",
              "      <th>8</th>\n",
              "      <td>tractor</td>\n",
              "      <td>file:///content/images/images/tractor.JPEG</td>\n",
              "    </tr>\n",
              "    <tr>\n",
              "      <th>9</th>\n",
              "      <td>ox</td>\n",
              "      <td>file:///content/images/images/ox.JPEG</td>\n",
              "    </tr>\n",
              "  </tbody>\n",
              "</table>\n",
              "</div>\n",
              "      <button class=\"colab-df-convert\" onclick=\"convertToInteractive('df-7325391d-9093-45de-b2ab-d273b7ac1bf8')\"\n",
              "              title=\"Convert this dataframe to an interactive table.\"\n",
              "              style=\"display:none;\">\n",
              "        \n",
              "  <svg xmlns=\"http://www.w3.org/2000/svg\" height=\"24px\"viewBox=\"0 0 24 24\"\n",
              "       width=\"24px\">\n",
              "    <path d=\"M0 0h24v24H0V0z\" fill=\"none\"/>\n",
              "    <path d=\"M18.56 5.44l.94 2.06.94-2.06 2.06-.94-2.06-.94-.94-2.06-.94 2.06-2.06.94zm-11 1L8.5 8.5l.94-2.06 2.06-.94-2.06-.94L8.5 2.5l-.94 2.06-2.06.94zm10 10l.94 2.06.94-2.06 2.06-.94-2.06-.94-.94-2.06-.94 2.06-2.06.94z\"/><path d=\"M17.41 7.96l-1.37-1.37c-.4-.4-.92-.59-1.43-.59-.52 0-1.04.2-1.43.59L10.3 9.45l-7.72 7.72c-.78.78-.78 2.05 0 2.83L4 21.41c.39.39.9.59 1.41.59.51 0 1.02-.2 1.41-.59l7.78-7.78 2.81-2.81c.8-.78.8-2.07 0-2.86zM5.41 20L4 18.59l7.72-7.72 1.47 1.35L5.41 20z\"/>\n",
              "  </svg>\n",
              "      </button>\n",
              "      \n",
              "  <style>\n",
              "    .colab-df-container {\n",
              "      display:flex;\n",
              "      flex-wrap:wrap;\n",
              "      gap: 12px;\n",
              "    }\n",
              "\n",
              "    .colab-df-convert {\n",
              "      background-color: #E8F0FE;\n",
              "      border: none;\n",
              "      border-radius: 50%;\n",
              "      cursor: pointer;\n",
              "      display: none;\n",
              "      fill: #1967D2;\n",
              "      height: 32px;\n",
              "      padding: 0 0 0 0;\n",
              "      width: 32px;\n",
              "    }\n",
              "\n",
              "    .colab-df-convert:hover {\n",
              "      background-color: #E2EBFA;\n",
              "      box-shadow: 0px 1px 2px rgba(60, 64, 67, 0.3), 0px 1px 3px 1px rgba(60, 64, 67, 0.15);\n",
              "      fill: #174EA6;\n",
              "    }\n",
              "\n",
              "    [theme=dark] .colab-df-convert {\n",
              "      background-color: #3B4455;\n",
              "      fill: #D2E3FC;\n",
              "    }\n",
              "\n",
              "    [theme=dark] .colab-df-convert:hover {\n",
              "      background-color: #434B5C;\n",
              "      box-shadow: 0px 1px 3px 1px rgba(0, 0, 0, 0.15);\n",
              "      filter: drop-shadow(0px 1px 2px rgba(0, 0, 0, 0.3));\n",
              "      fill: #FFFFFF;\n",
              "    }\n",
              "  </style>\n",
              "\n",
              "      <script>\n",
              "        const buttonEl =\n",
              "          document.querySelector('#df-7325391d-9093-45de-b2ab-d273b7ac1bf8 button.colab-df-convert');\n",
              "        buttonEl.style.display =\n",
              "          google.colab.kernel.accessAllowed ? 'block' : 'none';\n",
              "\n",
              "        async function convertToInteractive(key) {\n",
              "          const element = document.querySelector('#df-7325391d-9093-45de-b2ab-d273b7ac1bf8');\n",
              "          const dataTable =\n",
              "            await google.colab.kernel.invokeFunction('convertToInteractive',\n",
              "                                                     [key], {});\n",
              "          if (!dataTable) return;\n",
              "\n",
              "          const docLinkHtml = 'Like what you see? Visit the ' +\n",
              "            '<a target=\"_blank\" href=https://colab.research.google.com/notebooks/data_table.ipynb>data table notebook</a>'\n",
              "            + ' to learn more about interactive tables.';\n",
              "          element.innerHTML = '';\n",
              "          dataTable['output_type'] = 'display_data';\n",
              "          await google.colab.output.renderOutput(dataTable, element);\n",
              "          const docLink = document.createElement('div');\n",
              "          docLink.innerHTML = docLinkHtml;\n",
              "          element.appendChild(docLink);\n",
              "        }\n",
              "      </script>\n",
              "    </div>\n",
              "  </div>\n",
              "  "
            ]
          },
          "metadata": {},
          "execution_count": 12
        }
      ]
    },
    {
      "cell_type": "code",
      "source": [
        "# We can also pass an array of absolute image paths and predict on that\n",
        "import os \n",
        "paths = [f'/content/images/images/{p}' for p in os.listdir('/content/images/images')]\n",
        "print('predicting on paths :'+ \"\\n\".join(paths))\n",
        "swin.predict(paths)"
      ],
      "metadata": {
        "colab": {
          "base_uri": "https://localhost:8080/",
          "height": 571
        },
        "outputId": "eb2eb4a7-5e99-4a31-a20b-fd305978c5a9",
        "id": "C_5jCtXGgnoG"
      },
      "execution_count": null,
      "outputs": [
        {
          "output_type": "stream",
          "name": "stdout",
          "text": [
            "predicting on paths :/content/images/images/hippopotamus.JPEG\n",
            "/content/images/images/ostrich.JPEG\n",
            "/content/images/images/chihuahua.jpg\n",
            "/content/images/images/tractor.JPEG\n",
            "/content/images/images/.DS_Store\n",
            "/content/images/images/egyptian_cat.jpeg\n",
            "/content/images/images/junco.JPEG\n",
            "/content/images/images/palace.JPEG\n",
            "/content/images/images/hen.JPEG\n",
            "/content/images/images/bluetick.jpg\n",
            "/content/images/images/ox.JPEG\n",
            "Warning::Spark Session already created, some configs may not take.\n"
          ]
        },
        {
          "output_type": "execute_result",
          "data": {
            "text/plain": [
              "                            classified_image_results  \\\n",
              "0                                             palace   \n",
              "1                                   tabby, tabby cat   \n",
              "2  hippopotamus, hippo, river horse, Hippopotamus...   \n",
              "3                                                hen   \n",
              "4                          ostrich, Struthio camelus   \n",
              "5                                    junco, snowbird   \n",
              "6                                           bluetick   \n",
              "7                                          Chihuahua   \n",
              "8                                            tractor   \n",
              "9                                                 ox   \n",
              "\n",
              "                                      image_origin  \n",
              "0        file:///content/images/images/palace.JPEG  \n",
              "1  file:///content/images/images/egyptian_cat.jpeg  \n",
              "2  file:///content/images/images/hippopotamus.JPEG  \n",
              "3           file:///content/images/images/hen.JPEG  \n",
              "4       file:///content/images/images/ostrich.JPEG  \n",
              "5         file:///content/images/images/junco.JPEG  \n",
              "6       file:///content/images/images/bluetick.jpg  \n",
              "7      file:///content/images/images/chihuahua.jpg  \n",
              "8       file:///content/images/images/tractor.JPEG  \n",
              "9            file:///content/images/images/ox.JPEG  "
            ],
            "text/html": [
              "\n",
              "  <div id=\"df-c82f2cc5-bf80-424c-b039-27fdc235ede3\">\n",
              "    <div class=\"colab-df-container\">\n",
              "      <div>\n",
              "<style scoped>\n",
              "    .dataframe tbody tr th:only-of-type {\n",
              "        vertical-align: middle;\n",
              "    }\n",
              "\n",
              "    .dataframe tbody tr th {\n",
              "        vertical-align: top;\n",
              "    }\n",
              "\n",
              "    .dataframe thead th {\n",
              "        text-align: right;\n",
              "    }\n",
              "</style>\n",
              "<table border=\"1\" class=\"dataframe\">\n",
              "  <thead>\n",
              "    <tr style=\"text-align: right;\">\n",
              "      <th></th>\n",
              "      <th>classified_image_results</th>\n",
              "      <th>image_origin</th>\n",
              "    </tr>\n",
              "  </thead>\n",
              "  <tbody>\n",
              "    <tr>\n",
              "      <th>0</th>\n",
              "      <td>palace</td>\n",
              "      <td>file:///content/images/images/palace.JPEG</td>\n",
              "    </tr>\n",
              "    <tr>\n",
              "      <th>1</th>\n",
              "      <td>tabby, tabby cat</td>\n",
              "      <td>file:///content/images/images/egyptian_cat.jpeg</td>\n",
              "    </tr>\n",
              "    <tr>\n",
              "      <th>2</th>\n",
              "      <td>hippopotamus, hippo, river horse, Hippopotamus...</td>\n",
              "      <td>file:///content/images/images/hippopotamus.JPEG</td>\n",
              "    </tr>\n",
              "    <tr>\n",
              "      <th>3</th>\n",
              "      <td>hen</td>\n",
              "      <td>file:///content/images/images/hen.JPEG</td>\n",
              "    </tr>\n",
              "    <tr>\n",
              "      <th>4</th>\n",
              "      <td>ostrich, Struthio camelus</td>\n",
              "      <td>file:///content/images/images/ostrich.JPEG</td>\n",
              "    </tr>\n",
              "    <tr>\n",
              "      <th>5</th>\n",
              "      <td>junco, snowbird</td>\n",
              "      <td>file:///content/images/images/junco.JPEG</td>\n",
              "    </tr>\n",
              "    <tr>\n",
              "      <th>6</th>\n",
              "      <td>bluetick</td>\n",
              "      <td>file:///content/images/images/bluetick.jpg</td>\n",
              "    </tr>\n",
              "    <tr>\n",
              "      <th>7</th>\n",
              "      <td>Chihuahua</td>\n",
              "      <td>file:///content/images/images/chihuahua.jpg</td>\n",
              "    </tr>\n",
              "    <tr>\n",
              "      <th>8</th>\n",
              "      <td>tractor</td>\n",
              "      <td>file:///content/images/images/tractor.JPEG</td>\n",
              "    </tr>\n",
              "    <tr>\n",
              "      <th>9</th>\n",
              "      <td>ox</td>\n",
              "      <td>file:///content/images/images/ox.JPEG</td>\n",
              "    </tr>\n",
              "  </tbody>\n",
              "</table>\n",
              "</div>\n",
              "      <button class=\"colab-df-convert\" onclick=\"convertToInteractive('df-c82f2cc5-bf80-424c-b039-27fdc235ede3')\"\n",
              "              title=\"Convert this dataframe to an interactive table.\"\n",
              "              style=\"display:none;\">\n",
              "        \n",
              "  <svg xmlns=\"http://www.w3.org/2000/svg\" height=\"24px\"viewBox=\"0 0 24 24\"\n",
              "       width=\"24px\">\n",
              "    <path d=\"M0 0h24v24H0V0z\" fill=\"none\"/>\n",
              "    <path d=\"M18.56 5.44l.94 2.06.94-2.06 2.06-.94-2.06-.94-.94-2.06-.94 2.06-2.06.94zm-11 1L8.5 8.5l.94-2.06 2.06-.94-2.06-.94L8.5 2.5l-.94 2.06-2.06.94zm10 10l.94 2.06.94-2.06 2.06-.94-2.06-.94-.94-2.06-.94 2.06-2.06.94z\"/><path d=\"M17.41 7.96l-1.37-1.37c-.4-.4-.92-.59-1.43-.59-.52 0-1.04.2-1.43.59L10.3 9.45l-7.72 7.72c-.78.78-.78 2.05 0 2.83L4 21.41c.39.39.9.59 1.41.59.51 0 1.02-.2 1.41-.59l7.78-7.78 2.81-2.81c.8-.78.8-2.07 0-2.86zM5.41 20L4 18.59l7.72-7.72 1.47 1.35L5.41 20z\"/>\n",
              "  </svg>\n",
              "      </button>\n",
              "      \n",
              "  <style>\n",
              "    .colab-df-container {\n",
              "      display:flex;\n",
              "      flex-wrap:wrap;\n",
              "      gap: 12px;\n",
              "    }\n",
              "\n",
              "    .colab-df-convert {\n",
              "      background-color: #E8F0FE;\n",
              "      border: none;\n",
              "      border-radius: 50%;\n",
              "      cursor: pointer;\n",
              "      display: none;\n",
              "      fill: #1967D2;\n",
              "      height: 32px;\n",
              "      padding: 0 0 0 0;\n",
              "      width: 32px;\n",
              "    }\n",
              "\n",
              "    .colab-df-convert:hover {\n",
              "      background-color: #E2EBFA;\n",
              "      box-shadow: 0px 1px 2px rgba(60, 64, 67, 0.3), 0px 1px 3px 1px rgba(60, 64, 67, 0.15);\n",
              "      fill: #174EA6;\n",
              "    }\n",
              "\n",
              "    [theme=dark] .colab-df-convert {\n",
              "      background-color: #3B4455;\n",
              "      fill: #D2E3FC;\n",
              "    }\n",
              "\n",
              "    [theme=dark] .colab-df-convert:hover {\n",
              "      background-color: #434B5C;\n",
              "      box-shadow: 0px 1px 3px 1px rgba(0, 0, 0, 0.15);\n",
              "      filter: drop-shadow(0px 1px 2px rgba(0, 0, 0, 0.3));\n",
              "      fill: #FFFFFF;\n",
              "    }\n",
              "  </style>\n",
              "\n",
              "      <script>\n",
              "        const buttonEl =\n",
              "          document.querySelector('#df-c82f2cc5-bf80-424c-b039-27fdc235ede3 button.colab-df-convert');\n",
              "        buttonEl.style.display =\n",
              "          google.colab.kernel.accessAllowed ? 'block' : 'none';\n",
              "\n",
              "        async function convertToInteractive(key) {\n",
              "          const element = document.querySelector('#df-c82f2cc5-bf80-424c-b039-27fdc235ede3');\n",
              "          const dataTable =\n",
              "            await google.colab.kernel.invokeFunction('convertToInteractive',\n",
              "                                                     [key], {});\n",
              "          if (!dataTable) return;\n",
              "\n",
              "          const docLinkHtml = 'Like what you see? Visit the ' +\n",
              "            '<a target=\"_blank\" href=https://colab.research.google.com/notebooks/data_table.ipynb>data table notebook</a>'\n",
              "            + ' to learn more about interactive tables.';\n",
              "          element.innerHTML = '';\n",
              "          dataTable['output_type'] = 'display_data';\n",
              "          await google.colab.output.renderOutput(dataTable, element);\n",
              "          const docLink = document.createElement('div');\n",
              "          docLink.innerHTML = docLinkHtml;\n",
              "          element.appendChild(docLink);\n",
              "        }\n",
              "      </script>\n",
              "    </div>\n",
              "  </div>\n",
              "  "
            ]
          },
          "metadata": {},
          "execution_count": 13
        }
      ]
    },
    {
      "cell_type": "code",
      "source": [
        "# We can get all predictable lables by checking the pipe info\n",
        "swin.print_info()"
      ],
      "metadata": {
        "colab": {
          "base_uri": "https://localhost:8080/"
        },
        "id": "yx7pHlvz1QxV",
        "outputId": "1d7dbd12-4a9b-4b83-fb4e-a32f8c58c3ad"
      },
      "execution_count": null,
      "outputs": [
        {
          "output_type": "stream",
          "name": "stdout",
          "text": [
            "The following parameters are configurable for this NLU pipeline (You can copy paste the examples) :\n",
            ">>> component_list['swin_image_classification'] has settable params:\n",
            "component_list['swin_image_classification'].setBatchSize(2)  | Info: Size of every batch | Currently set to : 2\n",
            "component_list['swin_image_classification'].setDoNormalize(True)  | Info: Whether to normalize the input with mean and standard deviation | Currently set to : True\n",
            "component_list['swin_image_classification'].setDoRescale(True)  | Info: Whether to rescale the image values by rescaleFactor. | Currently set to : True\n",
            "component_list['swin_image_classification'].setDoResize(True)  | Info: Whether to resize the input to a certain size | Currently set to : True\n",
            "component_list['swin_image_classification'].setImageMean([0.485, 0.456, 0.406])  | Info: The sequence of means for each channel, to be used when normalizing images | Currently set to : [0.485, 0.456, 0.406]\n",
            "component_list['swin_image_classification'].setImageStd([0.229, 0.224, 0.225])  | Info: The sequence of standard deviations for each channel, to be used when normalizing images | Currently set to : [0.229, 0.224, 0.225]\n",
            "component_list['swin_image_classification'].setResample(3)  | Info: An optional resampling filter. This can be one of PIL.Image.NEAREST, PIL.Image.BOX, PIL.Image.BILINEAR, PIL.Image.HAMMING, PIL.Image.BICUBIC or PIL.Image.LANCZOS. Only has an effect if do_resize is set to True | Currently set to : 3\n",
            "component_list['swin_image_classification'].setSize(224)  | Info: Resize the input to the given size. If a tuple is provided, it should be (width, height). If only an integer is provided, then the input will be resized to (size, size). Only has an effect if do_resize is set to True. | Currently set to : 224\n",
            "component_list['swin_image_classification'].setRescaleFactor(0.00392156862745098)  | Info: Factor to scale the image values | Currently set to : 0.00392156862745098\n",
            "component_list['swin_image_classification'].setEngine('tensorflow')  | Info: Deep Learning engine used for this model | Currently set to : tensorflow\n",
            "component_list['swin_image_classification'].setFeatureExtractorType('ViTFeatureExtractor')  | Info: Name of model's architecture for feature extraction | Currently set to : ViTFeatureExtractor\n",
            ">>> component_list['image_assembler'] has settable params:\n"
          ]
        }
      ]
    },
    {
      "cell_type": "markdown",
      "source": [
        "## Try out other models\n",
        "\n",
        " There are many image classifier models powerd by VIT&SWIN.\n",
        "\n",
        " You can try any of them out by simply chaning the parameter of `nlu.load('my_model')` to the one you want to test.\n",
        "\n",
        "\n",
        "Refer to the [modelshub](https://nlp.johnsnowlabs.com/models?task=Image+Classification) for the full list\n",
        "\n",
        "\n",
        "\n",
        "| Language   | NLU Reference                                                                                                                                                                                                                                             | Spark NLP  Reference                                                                                                                                                                                                                                         | Annotator Class           |\n",
        "|:-----------|:----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:--------------------------|\n",
        "| en         | [en.classify_image.ALL](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_ALL_en_3_0.html)                                                                                                                                                     | [image_classifier_vit_ALL](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_ALL_en_3_0.html)                                                                                                                                                     | ViTForImageClassification |\n",
        "| en         | [en.classify_image.CarViT](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_CarViT_en_3_0.html)                                                                                                                                               | [image_classifier_vit_CarViT](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_CarViT_en_3_0.html)                                                                                                                                               | ViTForImageClassification |\n",
        "| en         | [en.classify_image.Check_Aligned_Teeth](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_Check_Aligned_Teeth_en_3_0.html)                                                                                                                     | [image_classifier_vit_Check_Aligned_Teeth](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_Check_Aligned_Teeth_en_3_0.html)                                                                                                                     | ViTForImageClassification |\n",
        "| en         | [en.classify_image.Check_GoodBad_Teeth](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_Check_GoodBad_Teeth_en_3_0.html)                                                                                                                     | [image_classifier_vit_Check_GoodBad_Teeth](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_Check_GoodBad_Teeth_en_3_0.html)                                                                                                                     | ViTForImageClassification |\n",
        "| en         | [en.classify_image.Check_Gum_Teeth](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_Check_Gum_Teeth_en_3_0.html)                                                                                                                             | [image_classifier_vit_Check_Gum_Teeth](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_Check_Gum_Teeth_en_3_0.html)                                                                                                                             | ViTForImageClassification |\n",
        "| en         | [en.classify_image.Check_Missing_Teeth](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_Check_Missing_Teeth_en_3_0.html)                                                                                                                     | [image_classifier_vit_Check_Missing_Teeth](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_Check_Missing_Teeth_en_3_0.html)                                                                                                                     | ViTForImageClassification |\n",
        "| en         | [en.classify_image.Infrastructures](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_Infrastructures_en_3_0.html)                                                                                                                             | [image_classifier_vit_Infrastructures](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_Infrastructures_en_3_0.html)                                                                                                                             | ViTForImageClassification |\n",
        "| en         | [en.classify_image.Insectodoptera](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_Insectodoptera_en_3_0.html)                                                                                                                               | [image_classifier_vit_Insectodoptera](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_Insectodoptera_en_3_0.html)                                                                                                                               | ViTForImageClassification |\n",
        "| en         | [en.classify_image.PANDA_ViT](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_PANDA_ViT_en_3_0.html)                                                                                                                                         | [image_classifier_vit_PANDA_ViT](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_PANDA_ViT_en_3_0.html)                                                                                                                                         | ViTForImageClassification |\n",
        "| en         | [en.classify_image.PanJuOffset_TwoClass](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_PanJuOffset_TwoClass_en_3_0.html)                                                                                                                   | [image_classifier_vit_PanJuOffset_TwoClass](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_PanJuOffset_TwoClass_en_3_0.html)                                                                                                                   | ViTForImageClassification |\n",
        "| en         | [en.classify_image.SDO_VT1](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_SDO_VT1_en_3_0.html)                                                                                                                                             | [image_classifier_vit_SDO_VT1](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_SDO_VT1_en_3_0.html)                                                                                                                                             | ViTForImageClassification |\n",
        "| en         | [en.classify_image.Teeth_A](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_Teeth_A_en_3_0.html)                                                                                                                                             | [image_classifier_vit_Teeth_A](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_Teeth_A_en_3_0.html)                                                                                                                                             | ViTForImageClassification |\n",
        "| en         | [en.classify_image.Teeth_B](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_Teeth_B_en_3_0.html)                                                                                                                                             | [image_classifier_vit_Teeth_B](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_Teeth_B_en_3_0.html)                                                                                                                                             | ViTForImageClassification |\n",
        "| en         | [en.classify_image.Teeth_C](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_Teeth_C_en_3_0.html)                                                                                                                                             | [image_classifier_vit_Teeth_C](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_Teeth_C_en_3_0.html)                                                                                                                                             | ViTForImageClassification |\n",
        "| en         | [en.classify_image.Test_Model](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_Test_Model_en_3_0.html)                                                                                                                                       | [image_classifier_vit_Test_Model](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_Test_Model_en_3_0.html)                                                                                                                                       | ViTForImageClassification |\n",
        "| en         | [en.classify_image.Tomato_Leaf_Classifier](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_Tomato_Leaf_Classifier_en_3_0.html)                                                                                                               | [image_classifier_vit_Tomato_Leaf_Classifier](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_Tomato_Leaf_Classifier_en_3_0.html)                                                                                                               | ViTForImageClassification |\n",
        "| en         | [en.classify_image.VIT_Basic](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_VIT_Basic_en_3_0.html)                                                                                                                                         | [image_classifier_vit_VIT_Basic](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_VIT_Basic_en_3_0.html)                                                                                                                                         | ViTForImageClassification |\n",
        "| en         | [en.classify_image.ViTFineTuned](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_ViTFineTuned_en_3_0.html)                                                                                                                                   | [image_classifier_vit_ViTFineTuned](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_ViTFineTuned_en_3_0.html)                                                                                                                                   | ViTForImageClassification |\n",
        "| en         | [en.classify_image.ViT_FaceMask_Finetuned](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_ViT_FaceMask_Finetuned_en_3_0.html)                                                                                                               | [image_classifier_vit_ViT_FaceMask_Finetuned](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_ViT_FaceMask_Finetuned_en_3_0.html)                                                                                                               | ViTForImageClassification |\n",
        "| en         | [en.classify_image.Visual_transformer_chihuahua_cookies](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_Visual_transformer_chihuahua_cookies_en_3_0.html)                                                                                   | [image_classifier_vit_Visual_transformer_chihuahua_cookies](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_Visual_transformer_chihuahua_cookies_en_3_0.html)                                                                                   | ViTForImageClassification |\n",
        "| en         | [en.classify_image.WEC_types](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_WEC_types_en_3_0.html)                                                                                                                                         | [image_classifier_vit_WEC_types](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_WEC_types_en_3_0.html)                                                                                                                                         | ViTForImageClassification |\n",
        "| en         | [en.classify_image._beans](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit__beans_en_3_0.html)                                                                                                                                               | [image_classifier_vit__beans](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit__beans_en_3_0.html)                                                                                                                                               | ViTForImageClassification |\n",
        "| en         | [en.classify_image._flyswot_test](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit__flyswot_test_en_3_0.html)                                                                                                                                 | [image_classifier_vit__flyswot_test](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit__flyswot_test_en_3_0.html)                                                                                                                                 | ViTForImageClassification |\n",
        "| en         | [en.classify_image._spectrogram](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit__spectrogram_en_3_0.html)                                                                                                                                   | [image_classifier_vit__spectrogram](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit__spectrogram_en_3_0.html)                                                                                                                                   | ViTForImageClassification |\n",
        "| en         | [en.classify_image.age_classifier](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_age_classifier_en_3_0.html)                                                                                                                               | [image_classifier_vit_age_classifier](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_age_classifier_en_3_0.html)                                                                                                                               | ViTForImageClassification |\n",
        "| en         | [en.classify_image.airplanes](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_airplanes_en_3_0.html)                                                                                                                                         | [image_classifier_vit_airplanes](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_airplanes_en_3_0.html)                                                                                                                                         | ViTForImageClassification |\n",
        "| en         | [en.classify_image.ak__base_patch16_224_in21k_image_classification](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_ak__base_patch16_224_in21k_image_classification_en_3_0.html)                                                             | [image_classifier_vit_ak__base_patch16_224_in21k_image_classification](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_ak__base_patch16_224_in21k_image_classification_en_3_0.html)                                                             | ViTForImageClassification |\n",
        "| en         | [en.classify_image.amgerindaf](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_amgerindaf_en_3_0.html)                                                                                                                                       | [image_classifier_vit_amgerindaf](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_amgerindaf_en_3_0.html)                                                                                                                                       | ViTForImageClassification |\n",
        "| en         | [en.classify_image.animal_classifier](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_animal_classifier_en_3_0.html)                                                                                                                         | [image_classifier_vit_animal_classifier](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_animal_classifier_en_3_0.html)                                                                                                                         | ViTForImageClassification |\n",
        "| en         | [en.classify_image.animal_classifier_huggingface](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_animal_classifier_huggingface_en_3_0.html)                                                                                                 | [image_classifier_vit_animal_classifier_huggingface](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_animal_classifier_huggingface_en_3_0.html)                                                                                                 | ViTForImageClassification |\n",
        "| en         | [en.classify_image.animals_classifier](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_animals_classifier_en_3_0.html)                                                                                                                       | [image_classifier_vit_animals_classifier](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_animals_classifier_en_3_0.html)                                                                                                                       | ViTForImageClassification |\n",
        "| en         | [en.classify_image.anomaly](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_anomaly_en_3_0.html)                                                                                                                                             | [image_classifier_vit_anomaly](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_anomaly_en_3_0.html)                                                                                                                                             | ViTForImageClassification |\n",
        "| en         | [en.classify_image.apes](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_apes_en_3_0.html)                                                                                                                                                   | [image_classifier_vit_apes](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_apes_en_3_0.html)                                                                                                                                                   | ViTForImageClassification |\n",
        "| en         | [en.classify_image.architectural_styles](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_architectural_styles_en_3_0.html)                                                                                                                   | [image_classifier_vit_architectural_styles](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_architectural_styles_en_3_0.html)                                                                                                                   | ViTForImageClassification |\n",
        "| en         | [en.classify_image.asl](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_asl_en_3_0.html)                                                                                                                                                     | [image_classifier_vit_asl](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_asl_en_3_0.html)                                                                                                                                                     | ViTForImageClassification |\n",
        "| en         | [en.classify_image.autotrain_cifar10__base](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_autotrain_cifar10__base_en_3_0.html)                                                                                                             | [image_classifier_vit_autotrain_cifar10__base](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_autotrain_cifar10__base_en_3_0.html)                                                                                                             | ViTForImageClassification |\n",
        "| en         | [en.classify_image.autotrain_dog_vs_food](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_autotrain_dog_vs_food_en_3_0.html)                                                                                                                 | [image_classifier_vit_autotrain_dog_vs_food](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_autotrain_dog_vs_food_en_3_0.html)                                                                                                                 | ViTForImageClassification |\n",
        "| en         | [en.classify_image.autotrain_fashion_mnist__base](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_autotrain_fashion_mnist__base_en_3_0.html)                                                                                                 | [image_classifier_vit_autotrain_fashion_mnist__base](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_autotrain_fashion_mnist__base_en_3_0.html)                                                                                                 | ViTForImageClassification |\n",
        "| en         | [en.classify_image.baked_goods](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_baked_goods_en_3_0.html)                                                                                                                                     | [image_classifier_vit_baked_goods](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_baked_goods_en_3_0.html)                                                                                                                                     | ViTForImageClassification |\n",
        "| en         | [en.classify_image.base_avengers_v1](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_base_avengers_v1_en_3_0.html)                                                                                                                           | [image_classifier_vit_base_avengers_v1](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_base_avengers_v1_en_3_0.html)                                                                                                                           | ViTForImageClassification |\n",
        "| en         | [en.classify_image.base_beans](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_base_beans_en_3_0.html)                                                                                                                                       | [image_classifier_vit_base_beans](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_base_beans_en_3_0.html)                                                                                                                                       | ViTForImageClassification |\n",
        "| en         | [en.classify_image.base_beans_demo](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_base_beans_demo_en_3_0.html)                                                                                                                             | [image_classifier_vit_base_beans_demo](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_base_beans_demo_en_3_0.html)                                                                                                                             | ViTForImageClassification |\n",
        "| en         | [en.classify_image.base_beans_demo_v2](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_base_beans_demo_v2_en_3_0.html)                                                                                                                       | [image_classifier_vit_base_beans_demo_v2](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_base_beans_demo_v2_en_3_0.html)                                                                                                                       | ViTForImageClassification |\n",
        "| en         | [en.classify_image.base_beans_demo_v3](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_base_beans_demo_v3_en_3_0.html)                                                                                                                       | [image_classifier_vit_base_beans_demo_v3](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_base_beans_demo_v3_en_3_0.html)                                                                                                                       | ViTForImageClassification |\n",
        "| en         | [en.classify_image.base_beans_demo_v5](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_base_beans_demo_v5_en_3_0.html)                                                                                                                       | [image_classifier_vit_base_beans_demo_v5](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_base_beans_demo_v5_en_3_0.html)                                                                                                                       | ViTForImageClassification |\n",
        "| en         | [en.classify_image.base_cats_vs_dogs](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_base_cats_vs_dogs_en_3_0.html)                                                                                                                         | [image_classifier_vit_base_cats_vs_dogs](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_base_cats_vs_dogs_en_3_0.html)                                                                                                                         | ViTForImageClassification |\n",
        "| en         | [en.classify_image.base_cifar10](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_base_cifar10_en_3_0.html)                                                                                                                                   | [image_classifier_vit_base_cifar10](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_base_cifar10_en_3_0.html)                                                                                                                                   | ViTForImageClassification |\n",
        "| en         | [en.classify_image.base_food101](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_base_food101_en_3_0.html)                                                                                                                                   | [image_classifier_vit_base_food101](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_base_food101_en_3_0.html)                                                                                                                                   | ViTForImageClassification |\n",
        "| en         | [en.classify_image.base_movie_scenes_v1](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_base_movie_scenes_v1_en_3_0.html)                                                                                                                   | [image_classifier_vit_base_movie_scenes_v1](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_base_movie_scenes_v1_en_3_0.html)                                                                                                                   | ViTForImageClassification |\n",
        "| en         | [en.classify_image.base_mri](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_base_mri_en_3_0.html)                                                                                                                                           | [image_classifier_vit_base_mri](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_base_mri_en_3_0.html)                                                                                                                                           | ViTForImageClassification |\n",
        "| en         | [en.classify_image.base_patch16_224](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_base_patch16_224_en_3_0.html)                                                                                                                           | [image_classifier_vit_base_patch16_224](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_base_patch16_224_en_3_0.html)                                                                                                                           | ViTForImageClassification |\n",
        "| en         | [en.classify_image.base_patch16_224.by_google](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_base_patch16_224_en_3_0.html)                                                                                                                 | [image_classifier_vit_base_patch16_224](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_base_patch16_224_en_3_0.html)                                                                                                                           | ViTForImageClassification |\n",
        "| en         | [en.classify_image.base_patch16_224_cifar10](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_base_patch16_224_cifar10_en_3_0.html)                                                                                                           | [image_classifier_vit_base_patch16_224_cifar10](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_base_patch16_224_cifar10_en_3_0.html)                                                                                                           | ViTForImageClassification |\n",
        "| en         | [en.classify_image.base_patch16_224_finetuned_eurosat](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_base_patch16_224_finetuned_eurosat_en_3_0.html)                                                                                       | [image_classifier_vit_base_patch16_224_finetuned_eurosat](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_base_patch16_224_finetuned_eurosat_en_3_0.html)                                                                                       | ViTForImageClassification |\n",
        "| en         | [en.classify_image.base_patch16_224_finetuned_kvasirv2_colonoscopy](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_base_patch16_224_finetuned_kvasirv2_colonoscopy_en_3_0.html)                                                             | [image_classifier_vit_base_patch16_224_finetuned_kvasirv2_colonoscopy](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_base_patch16_224_finetuned_kvasirv2_colonoscopy_en_3_0.html)                                                             | ViTForImageClassification |\n",
        "| en         | [en.classify_image.base_patch16_224_finetuned_largerDataSet_docSeperator_more_labels_all_apache2](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_base_patch16_224_finetuned_largerDataSet_docSeperator_more_labels_all_apache2_en_3_0.html) | [image_classifier_vit_base_patch16_224_finetuned_largerDataSet_docSeperator_more_labels_all_apache2](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_base_patch16_224_finetuned_largerDataSet_docSeperator_more_labels_all_apache2_en_3_0.html) | ViTForImageClassification |\n",
        "| en         | [en.classify_image.base_patch16_224_finetuned_pneumothorax](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_base_patch16_224_finetuned_pneumothorax_en_3_0.html)                                                                             | [image_classifier_vit_base_patch16_224_finetuned_pneumothorax](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_base_patch16_224_finetuned_pneumothorax_en_3_0.html)                                                                             | ViTForImageClassification |\n",
        "| en         | [en.classify_image.base_patch16_224_in21k_aidSat](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_base_patch16_224_in21k_aidSat_en_3_0.html)                                                                                                 | [image_classifier_vit_base_patch16_224_in21k_aidSat](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_base_patch16_224_in21k_aidSat_en_3_0.html)                                                                                                 | ViTForImageClassification |\n",
        "| en         | [en.classify_image.base_patch16_224_in21k_bantai_v1](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_base_patch16_224_in21k_bantai_v1_en_3_0.html)                                                                                           | [image_classifier_vit_base_patch16_224_in21k_bantai_v1](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_base_patch16_224_in21k_bantai_v1_en_3_0.html)                                                                                           | ViTForImageClassification |\n",
        "| en         | [en.classify_image.base_patch16_224_in21k_classify_4scence](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_base_patch16_224_in21k_classify_4scence_en_3_0.html)                                                                             | [image_classifier_vit_base_patch16_224_in21k_classify_4scence](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_base_patch16_224_in21k_classify_4scence_en_3_0.html)                                                                             | ViTForImageClassification |\n",
        "| en         | [en.classify_image.base_patch16_224_in21k_euroSat](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_base_patch16_224_in21k_euroSat_en_3_0.html)                                                                                               | [image_classifier_vit_base_patch16_224_in21k_euroSat](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_base_patch16_224_in21k_euroSat_en_3_0.html)                                                                                               | ViTForImageClassification |\n",
        "| en         | [en.classify_image.base_patch16_224_in21k_finetuned_cifar10](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_base_patch16_224_in21k_finetuned_cifar10_en_3_0.html)                                                                           | [image_classifier_vit_base_patch16_224_in21k_finetuned_cifar10](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_base_patch16_224_in21k_finetuned_cifar10_en_3_0.html)                                                                           | ViTForImageClassification |\n",
        "| en         | [en.classify_image.base_patch16_224_in21k_snacks](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_base_patch16_224_in21k_snacks_en_3_0.html)                                                                                                 | [image_classifier_vit_base_patch16_224_in21k_snacks](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_base_patch16_224_in21k_snacks_en_3_0.html)                                                                                                 | ViTForImageClassification |\n",
        "| en         | [en.classify_image.base_patch16_224_in21k_ucSat](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_base_patch16_224_in21k_ucSat_en_3_0.html)                                                                                                   | [image_classifier_vit_base_patch16_224_in21k_ucSat](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_base_patch16_224_in21k_ucSat_en_3_0.html)                                                                                                   | ViTForImageClassification |\n",
        "| en         | [en.classify_image.base_patch16_224_recylce_ft](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_base_patch16_224_recylce_ft_en_3_0.html)                                                                                                     | [image_classifier_vit_base_patch16_224_recylce_ft](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_base_patch16_224_recylce_ft_en_3_0.html)                                                                                                     | ViTForImageClassification |\n",
        "| en         | [en.classify_image.base_patch16_384](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_base_patch16_384_en_3_0.html)                                                                                                                           | [image_classifier_vit_base_patch16_384](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_base_patch16_384_en_3_0.html)                                                                                                                           | ViTForImageClassification |\n",
        "| en         | [en.classify_image.base_patch16_384.by_google](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_base_patch16_384_en_3_0.html)                                                                                                                 | [image_classifier_vit_base_patch16_384](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_base_patch16_384_en_3_0.html)                                                                                                                           | ViTForImageClassification |\n",
        "| en         | [en.classify_image.base_patch32_384](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_base_patch32_384_en_3_0.html)                                                                                                                           | [image_classifier_vit_base_patch32_384](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_base_patch32_384_en_3_0.html)                                                                                                                           | ViTForImageClassification |\n",
        "| en         | [en.classify_image.base_patch32_384.by_google](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_base_patch32_384_en_3_0.html)                                                                                                                 | [image_classifier_vit_base_patch32_384](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_base_patch32_384_en_3_0.html)                                                                                                                           | ViTForImageClassification |\n",
        "| en         | [en.classify_image.base_patch32_384_finetuned_eurosat](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_base_patch32_384_finetuned_eurosat_en_3_0.html)                                                                                       | [image_classifier_vit_base_patch32_384_finetuned_eurosat](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_base_patch32_384_finetuned_eurosat_en_3_0.html)                                                                                       | ViTForImageClassification |\n",
        "| en         | [en.classify_image.base_xray_pneumonia](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_base_xray_pneumonia_en_3_0.html)                                                                                                                     | [image_classifier_vit_base_xray_pneumonia](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_base_xray_pneumonia_en_3_0.html)                                                                                                                     | ViTForImageClassification |\n",
        "| en         | [en.classify_image.baseball_stadium_foods](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_baseball_stadium_foods_en_3_0.html)                                                                                                               | [image_classifier_vit_baseball_stadium_foods](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_baseball_stadium_foods_en_3_0.html)                                                                                                               | ViTForImageClassification |\n",
        "| en         | [en.classify_image.beer_vs_wine](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_beer_vs_wine_en_3_0.html)                                                                                                                                   | [image_classifier_vit_beer_vs_wine](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_beer_vs_wine_en_3_0.html)                                                                                                                                   | ViTForImageClassification |\n",
        "| en         | [en.classify_image.beer_whisky_wine_detection](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_beer_whisky_wine_detection_en_3_0.html)                                                                                                       | [image_classifier_vit_beer_whisky_wine_detection](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_beer_whisky_wine_detection_en_3_0.html)                                                                                                       | ViTForImageClassification |\n",
        "| en         | [en.classify_image.blocks](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_blocks_en_3_0.html)                                                                                                                                               | [image_classifier_vit_blocks](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_blocks_en_3_0.html)                                                                                                                                               | ViTForImageClassification |\n",
        "| en         | [en.classify_image.cifar10](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_cifar10_en_3_0.html)                                                                                                                                             | [image_classifier_vit_cifar10](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_cifar10_en_3_0.html)                                                                                                                                             | ViTForImageClassification |\n",
        "| en         | [en.classify_image.cifar_10_2](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_cifar_10_2_en_3_0.html)                                                                                                                                       | [image_classifier_vit_cifar_10_2](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_cifar_10_2_en_3_0.html)                                                                                                                                       | ViTForImageClassification |\n",
        "| en         | [en.classify_image.computer_stuff](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_computer_stuff_en_3_0.html)                                                                                                                               | [image_classifier_vit_computer_stuff](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_computer_stuff_en_3_0.html)                                                                                                                               | ViTForImageClassification |\n",
        "| en         | [en.classify_image.croupier_creature_classifier](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_croupier_creature_classifier_en_3_0.html)                                                                                                   | [image_classifier_vit_croupier_creature_classifier](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_croupier_creature_classifier_en_3_0.html)                                                                                                   | ViTForImageClassification |\n",
        "| en         | [en.classify_image.deit_base_patch16_224](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_deit_base_patch16_224_en_3_0.html)                                                                                                                 | [image_classifier_vit_deit_base_patch16_224](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_deit_base_patch16_224_en_3_0.html)                                                                                                                 | ViTForImageClassification |\n",
        "| en         | [en.classify_image.deit_base_patch16_224.by_facebook](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_deit_base_patch16_224_en_3_0.html)                                                                                                     | [image_classifier_vit_deit_base_patch16_224](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_deit_base_patch16_224_en_3_0.html)                                                                                                                 | ViTForImageClassification |\n",
        "| en         | [en.classify_image.deit_flyswot](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_deit_flyswot_en_3_0.html)                                                                                                                                   | [image_classifier_vit_deit_flyswot](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_deit_flyswot_en_3_0.html)                                                                                                                                   | ViTForImageClassification |\n",
        "| en         | [en.classify_image.deit_small_patch16_224](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_deit_small_patch16_224_en_3_0.html)                                                                                                               | [image_classifier_vit_deit_small_patch16_224](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_deit_small_patch16_224_en_3_0.html)                                                                                                               | ViTForImageClassification |\n",
        "| en         | [en.classify_image.deit_small_patch16_224.by_facebook](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_deit_small_patch16_224_en_3_0.html)                                                                                                   | [image_classifier_vit_deit_small_patch16_224](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_deit_small_patch16_224_en_3_0.html)                                                                                                               | ViTForImageClassification |\n",
        "| en         | [en.classify_image.deit_tiny_patch16_224](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_deit_tiny_patch16_224_en_3_0.html)                                                                                                                 | [image_classifier_vit_deit_tiny_patch16_224](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_deit_tiny_patch16_224_en_3_0.html)                                                                                                                 | ViTForImageClassification |\n",
        "| en         | [en.classify_image.deit_tiny_patch16_224.by_facebook](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_deit_tiny_patch16_224_en_3_0.html)                                                                                                     | [image_classifier_vit_deit_tiny_patch16_224](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_deit_tiny_patch16_224_en_3_0.html)                                                                                                                 | ViTForImageClassification |\n",
        "| en         | [en.classify_image.demo](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_demo_en_3_0.html)                                                                                                                                                   | [image_classifier_vit_demo](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_demo_en_3_0.html)                                                                                                                                                   | ViTForImageClassification |\n",
        "| en         | [en.classify_image.denver_nyc_paris](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_denver_nyc_paris_en_3_0.html)                                                                                                                           | [image_classifier_vit_denver_nyc_paris](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_denver_nyc_paris_en_3_0.html)                                                                                                                           | ViTForImageClassification |\n",
        "| en         | [en.classify_image.diam](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_diam_en_3_0.html)                                                                                                                                                   | [image_classifier_vit_diam](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_diam_en_3_0.html)                                                                                                                                                   | ViTForImageClassification |\n",
        "| en         | [en.classify_image.digital](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_digital_en_3_0.html)                                                                                                                                             | [image_classifier_vit_digital](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_digital_en_3_0.html)                                                                                                                                             | ViTForImageClassification |\n",
        "| en         | [en.classify_image.dog](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_dog_en_3_0.html)                                                                                                                                                     | [image_classifier_vit_dog](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_dog_en_3_0.html)                                                                                                                                                     | ViTForImageClassification |\n",
        "| en         | [en.classify_image.dog_breed_classifier](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_dog_breed_classifier_en_3_0.html)                                                                                                                   | [image_classifier_vit_dog_breed_classifier](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_dog_breed_classifier_en_3_0.html)                                                                                                                   | ViTForImageClassification |\n",
        "| en         | [en.classify_image.dog_food__base_patch16_224_in21k](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_dog_food__base_patch16_224_in21k_en_3_0.html)                                                                                           | [image_classifier_vit_dog_food__base_patch16_224_in21k](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_dog_food__base_patch16_224_in21k_en_3_0.html)                                                                                           | ViTForImageClassification |\n",
        "| en         | [en.classify_image.dog_races](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_dog_races_en_3_0.html)                                                                                                                                         | [image_classifier_vit_dog_races](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_dog_races_en_3_0.html)                                                                                                                                         | ViTForImageClassification |\n",
        "| en         | [en.classify_image.dog_vs_chicken](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_dog_vs_chicken_en_3_0.html)                                                                                                                               | [image_classifier_vit_dog_vs_chicken](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_dog_vs_chicken_en_3_0.html)                                                                                                                               | ViTForImageClassification |\n",
        "| en         | [en.classify_image.doggos_lol](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_doggos_lol_en_3_0.html)                                                                                                                                       | [image_classifier_vit_doggos_lol](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_doggos_lol_en_3_0.html)                                                                                                                                       | ViTForImageClassification |\n",
        "| en         | [en.classify_image.dogs](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_dogs_en_3_0.html)                                                                                                                                                   | [image_classifier_vit_dogs](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_dogs_en_3_0.html)                                                                                                                                                   | ViTForImageClassification |\n",
        "| en         | [en.classify_image.dwarf_goats](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_dwarf_goats_en_3_0.html)                                                                                                                                     | [image_classifier_vit_dwarf_goats](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_dwarf_goats_en_3_0.html)                                                                                                                                     | ViTForImageClassification |\n",
        "| en         | [en.classify_image.electric_2](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_electric_2_en_3_0.html)                                                                                                                                       | [image_classifier_vit_electric_2](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_electric_2_en_3_0.html)                                                                                                                                       | ViTForImageClassification |\n",
        "| en         | [en.classify_image.electric_pole_type_classification](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_electric_pole_type_classification_en_3_0.html)                                                                                         | [image_classifier_vit_electric_pole_type_classification](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_electric_pole_type_classification_en_3_0.html)                                                                                         | ViTForImageClassification |\n",
        "| en         | [en.classify_image.ex_for_evan](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_ex_for_evan_en_3_0.html)                                                                                                                                     | [image_classifier_vit_ex_for_evan](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_ex_for_evan_en_3_0.html)                                                                                                                                     | ViTForImageClassification |\n",
        "| en         | [en.classify_image.exper1_mesum5](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_exper1_mesum5_en_3_0.html)                                                                                                                                 | [image_classifier_vit_exper1_mesum5](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_exper1_mesum5_en_3_0.html)                                                                                                                                 | ViTForImageClassification |\n",
        "| en         | [en.classify_image.exper2_mesum5](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_exper2_mesum5_en_3_0.html)                                                                                                                                 | [image_classifier_vit_exper2_mesum5](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_exper2_mesum5_en_3_0.html)                                                                                                                                 | ViTForImageClassification |\n",
        "| en         | [en.classify_image.exper3_mesum5](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_exper3_mesum5_en_3_0.html)                                                                                                                                 | [image_classifier_vit_exper3_mesum5](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_exper3_mesum5_en_3_0.html)                                                                                                                                 | ViTForImageClassification |\n",
        "| en         | [en.classify_image.exper4_mesum5](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_exper4_mesum5_en_3_0.html)                                                                                                                                 | [image_classifier_vit_exper4_mesum5](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_exper4_mesum5_en_3_0.html)                                                                                                                                 | ViTForImageClassification |\n",
        "| en         | [en.classify_image.exper5_mesum5](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_exper5_mesum5_en_3_0.html)                                                                                                                                 | [image_classifier_vit_exper5_mesum5](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_exper5_mesum5_en_3_0.html)                                                                                                                                 | ViTForImageClassification |\n",
        "| en         | [en.classify_image.exper6_mesum5](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_exper6_mesum5_en_3_0.html)                                                                                                                                 | [image_classifier_vit_exper6_mesum5](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_exper6_mesum5_en_3_0.html)                                                                                                                                 | ViTForImageClassification |\n",
        "| en         | [en.classify_image.exper7_mesum5](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_exper7_mesum5_en_3_0.html)                                                                                                                                 | [image_classifier_vit_exper7_mesum5](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_exper7_mesum5_en_3_0.html)                                                                                                                                 | ViTForImageClassification |\n",
        "| en         | [en.classify_image.exper_batch_16_e4](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_exper_batch_16_e4_en_3_0.html)                                                                                                                         | [image_classifier_vit_exper_batch_16_e4](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_exper_batch_16_e4_en_3_0.html)                                                                                                                         | ViTForImageClassification |\n",
        "| en         | [en.classify_image.exper_batch_16_e8](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_exper_batch_16_e8_en_3_0.html)                                                                                                                         | [image_classifier_vit_exper_batch_16_e8](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_exper_batch_16_e8_en_3_0.html)                                                                                                                         | ViTForImageClassification |\n",
        "| en         | [en.classify_image.exper_batch_32_e4](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_exper_batch_32_e4_en_3_0.html)                                                                                                                         | [image_classifier_vit_exper_batch_32_e4](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_exper_batch_32_e4_en_3_0.html)                                                                                                                         | ViTForImageClassification |\n",
        "| en         | [en.classify_image.exper_batch_32_e8](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_exper_batch_32_e8_en_3_0.html)                                                                                                                         | [image_classifier_vit_exper_batch_32_e8](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_exper_batch_32_e8_en_3_0.html)                                                                                                                         | ViTForImageClassification |\n",
        "| en         | [en.classify_image.exper_batch_8_e4](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_exper_batch_8_e4_en_3_0.html)                                                                                                                           | [image_classifier_vit_exper_batch_8_e4](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_exper_batch_8_e4_en_3_0.html)                                                                                                                           | ViTForImageClassification |\n",
        "| en         | [en.classify_image.exper_batch_8_e8](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_exper_batch_8_e8_en_3_0.html)                                                                                                                           | [image_classifier_vit_exper_batch_8_e8](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_exper_batch_8_e8_en_3_0.html)                                                                                                                           | ViTForImageClassification |\n",
        "| en         | [en.classify_image.fancy_animales](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_fancy_animales_en_3_0.html)                                                                                                                               | [image_classifier_vit_fancy_animales](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_fancy_animales_en_3_0.html)                                                                                                                               | ViTForImageClassification |\n",
        "| en         | [en.classify_image.finetuned_cats_dogs](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_finetuned_cats_dogs_en_3_0.html)                                                                                                                     | [image_classifier_vit_finetuned_cats_dogs](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_finetuned_cats_dogs_en_3_0.html)                                                                                                                     | ViTForImageClassification |\n",
        "| en         | [en.classify_image.finetuned_chest_xray_pneumonia](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_finetuned_chest_xray_pneumonia_en_3_0.html)                                                                                               | [image_classifier_vit_finetuned_chest_xray_pneumonia](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_finetuned_chest_xray_pneumonia_en_3_0.html)                                                                                               | ViTForImageClassification |\n",
        "| en         | [en.classify_image.finetuned_eurosat_kornia](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_finetuned_eurosat_kornia_en_3_0.html)                                                                                                           | [image_classifier_vit_finetuned_eurosat_kornia](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_finetuned_eurosat_kornia_en_3_0.html)                                                                                                           | ViTForImageClassification |\n",
        "| en         | [en.classify_image.flowers](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_flowers_en_3_0.html)                                                                                                                                             | [image_classifier_vit_flowers](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_flowers_en_3_0.html)                                                                                                                                             | ViTForImageClassification |\n",
        "| en         | [en.classify_image.food](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_food_en_3_0.html)                                                                                                                                                   | [image_classifier_vit_food](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_food_en_3_0.html)                                                                                                                                                   | ViTForImageClassification |\n",
        "| en         | [en.classify_image.fruits](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_fruits_en_3_0.html)                                                                                                                                               | [image_classifier_vit_fruits](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_fruits_en_3_0.html)                                                                                                                                               | ViTForImageClassification |\n",
        "| en         | [en.classify_image.garbage_classification](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_garbage_classification_en_3_0.html)                                                                                                               | [image_classifier_vit_garbage_classification](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_garbage_classification_en_3_0.html)                                                                                                               | ViTForImageClassification |\n",
        "| en         | [en.classify_image.generation_xyz](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_generation_xyz_en_3_0.html)                                                                                                                               | [image_classifier_vit_generation_xyz](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_generation_xyz_en_3_0.html)                                                                                                                               | ViTForImageClassification |\n",
        "| en         | [en.classify_image.grain](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_grain_en_3_0.html)                                                                                                                                                 | [image_classifier_vit_grain](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_grain_en_3_0.html)                                                                                                                                                 | ViTForImageClassification |\n",
        "| en         | [en.classify_image.greens](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_greens_en_3_0.html)                                                                                                                                               | [image_classifier_vit_greens](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_greens_en_3_0.html)                                                                                                                                               | ViTForImageClassification |\n",
        "| en         | [en.classify_image.gtsrb_model](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_gtsrb_model_en_3_0.html)                                                                                                                                     | [image_classifier_vit_gtsrb_model](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_gtsrb_model_en_3_0.html)                                                                                                                                     | ViTForImageClassification |\n",
        "| en         | [en.classify_image.hot_dog_or_sandwich](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_hot_dog_or_sandwich_en_3_0.html)                                                                                                                     | [image_classifier_vit_hot_dog_or_sandwich](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_hot_dog_or_sandwich_en_3_0.html)                                                                                                                     | ViTForImageClassification |\n",
        "| en         | [en.classify_image.hotdog_not_hotdog](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_hotdog_not_hotdog_en_3_0.html)                                                                                                                         | [image_classifier_vit_hotdog_not_hotdog](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_hotdog_not_hotdog_en_3_0.html)                                                                                                                         | ViTForImageClassification |\n",
        "| en         | [en.classify_image.housing_categories](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_housing_categories_en_3_0.html)                                                                                                                       | [image_classifier_vit_housing_categories](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_housing_categories_en_3_0.html)                                                                                                                       | ViTForImageClassification |\n",
        "| en         | [en.classify_image.hugging_geese](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_hugging_geese_en_3_0.html)                                                                                                                                 | [image_classifier_vit_hugging_geese](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_hugging_geese_en_3_0.html)                                                                                                                                 | ViTForImageClassification |\n",
        "| en         | [en.classify_image.huggingpics_package_demo_2](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_huggingpics_package_demo_2_en_3_0.html)                                                                                                       | [image_classifier_vit_huggingpics_package_demo_2](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_huggingpics_package_demo_2_en_3_0.html)                                                                                                       | ViTForImageClassification |\n",
        "| en         | [en.classify_image.ice_cream](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_ice_cream_en_3_0.html)                                                                                                                                         | [image_classifier_vit_ice_cream](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_ice_cream_en_3_0.html)                                                                                                                                         | ViTForImageClassification |\n",
        "| en         | [en.classify_image.iiif_manuscript_](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_iiif_manuscript__en_3_0.html)                                                                                                                           | [image_classifier_vit_iiif_manuscript_](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_iiif_manuscript__en_3_0.html)                                                                                                                           | ViTForImageClassification |\n",
        "| en         | [en.classify_image.indian_snacks](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_indian_snacks_en_3_0.html)                                                                                                                                 | [image_classifier_vit_indian_snacks](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_indian_snacks_en_3_0.html)                                                                                                                                 | ViTForImageClassification |\n",
        "| en         | [en.classify_image.koala_panda_wombat](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_koala_panda_wombat_en_3_0.html)                                                                                                                       | [image_classifier_vit_koala_panda_wombat](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_koala_panda_wombat_en_3_0.html)                                                                                                                       | ViTForImageClassification |\n",
        "| en         | [en.classify_image.lawn_weeds](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_lawn_weeds_en_3_0.html)                                                                                                                                       | [image_classifier_vit_lawn_weeds](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_lawn_weeds_en_3_0.html)                                                                                                                                       | ViTForImageClassification |\n",
        "| en         | [en.classify_image.llama_alpaca_guanaco_vicuna](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_llama_alpaca_guanaco_vicuna_en_3_0.html)                                                                                                     | [image_classifier_vit_llama_alpaca_guanaco_vicuna](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_llama_alpaca_guanaco_vicuna_en_3_0.html)                                                                                                     | ViTForImageClassification |\n",
        "| en         | [en.classify_image.llama_alpaca_snake](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_llama_alpaca_snake_en_3_0.html)                                                                                                                       | [image_classifier_vit_llama_alpaca_snake](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_llama_alpaca_snake_en_3_0.html)                                                                                                                       | ViTForImageClassification |\n",
        "| en         | [en.classify_image.llama_or_potato](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_llama_or_potato_en_3_0.html)                                                                                                                             | [image_classifier_vit_llama_or_potato](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_llama_or_potato_en_3_0.html)                                                                                                                             | ViTForImageClassification |\n",
        "| en         | [en.classify_image.llama_or_what](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_llama_or_what_en_3_0.html)                                                                                                                                 | [image_classifier_vit_llama_or_what](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_llama_or_what_en_3_0.html)                                                                                                                                 | ViTForImageClassification |\n",
        "| en         | [en.classify_image.lotr](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_lotr_en_3_0.html)                                                                                                                                                   | [image_classifier_vit_lotr](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_lotr_en_3_0.html)                                                                                                                                                   | ViTForImageClassification |\n",
        "| en         | [en.classify_image.lucky_model](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_lucky_model_en_3_0.html)                                                                                                                                     | [image_classifier_vit_lucky_model](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_lucky_model_en_3_0.html)                                                                                                                                     | ViTForImageClassification |\n",
        "| en         | [en.classify_image.lung_cancer](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_lung_cancer_en_3_0.html)                                                                                                                                     | [image_classifier_vit_lung_cancer](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_lung_cancer_en_3_0.html)                                                                                                                                     | ViTForImageClassification |\n",
        "| en         | [en.classify_image.mit_indoor_scenes](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_mit_indoor_scenes_en_3_0.html)                                                                                                                         | [image_classifier_vit_mit_indoor_scenes](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_mit_indoor_scenes_en_3_0.html)                                                                                                                         | ViTForImageClassification |\n",
        "| en         | [en.classify_image.modelversion01](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_modelversion01_en_3_0.html)                                                                                                                               | [image_classifier_vit_modelversion01](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_modelversion01_en_3_0.html)                                                                                                                               | ViTForImageClassification |\n",
        "| en         | [en.classify_image.modeversion1_m6_e4](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_modeversion1_m6_e4_en_3_0.html)                                                                                                                       | [image_classifier_vit_modeversion1_m6_e4](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_modeversion1_m6_e4_en_3_0.html)                                                                                                                       | ViTForImageClassification |\n",
        "| en         | [en.classify_image.modeversion1_m6_e4n](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_modeversion1_m6_e4n_en_3_0.html)                                                                                                                     | [image_classifier_vit_modeversion1_m6_e4n](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_modeversion1_m6_e4n_en_3_0.html)                                                                                                                     | ViTForImageClassification |\n",
        "| en         | [en.classify_image.modeversion1_m7_e4](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_modeversion1_m7_e4_en_3_0.html)                                                                                                                       | [image_classifier_vit_modeversion1_m7_e4](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_modeversion1_m7_e4_en_3_0.html)                                                                                                                       | ViTForImageClassification |\n",
        "| en         | [en.classify_image.modeversion28_7](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_modeversion28_7_en_3_0.html)                                                                                                                             | [image_classifier_vit_modeversion28_7](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_modeversion28_7_en_3_0.html)                                                                                                                             | ViTForImageClassification |\n",
        "| en         | [en.classify_image.modeversion2_m7_e8](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_modeversion2_m7_e8_en_3_0.html)                                                                                                                       | [image_classifier_vit_modeversion2_m7_e8](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_modeversion2_m7_e8_en_3_0.html)                                                                                                                       | ViTForImageClassification |\n",
        "| en         | [en.classify_image.my_bean_VIT](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_my_bean_VIT_en_3_0.html)                                                                                                                                     | [image_classifier_vit_my_bean_VIT](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_my_bean_VIT_en_3_0.html)                                                                                                                                     | ViTForImageClassification |\n",
        "| en         | [en.classify_image.new_exper3](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_new_exper3_en_3_0.html)                                                                                                                                       | [image_classifier_vit_new_exper3](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_new_exper3_en_3_0.html)                                                                                                                                       | ViTForImageClassification |\n",
        "| en         | [en.classify_image.new_york_tokyo_london](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_new_york_tokyo_london_en_3_0.html)                                                                                                                 | [image_classifier_vit_new_york_tokyo_london](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_new_york_tokyo_london_en_3_0.html)                                                                                                                 | ViTForImageClassification |\n",
        "| en         | [en.classify_image.occupation_prediction](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_occupation_prediction_en_3_0.html)                                                                                                                 | [image_classifier_vit_occupation_prediction](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_occupation_prediction_en_3_0.html)                                                                                                                 | ViTForImageClassification |\n",
        "| en         | [en.classify_image.opencampus_age_detection](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_opencampus_age_detection_en_3_0.html)                                                                                                           | [image_classifier_vit_opencampus_age_detection](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_opencampus_age_detection_en_3_0.html)                                                                                                           | ViTForImageClassification |\n",
        "| en         | [en.classify_image.orcs_and_friends](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_orcs_and_friends_en_3_0.html)                                                                                                                           | [image_classifier_vit_orcs_and_friends](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_orcs_and_friends_en_3_0.html)                                                                                                                           | ViTForImageClassification |\n",
        "| en         | [en.classify_image.oz_fauna](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_oz_fauna_en_3_0.html)                                                                                                                                           | [image_classifier_vit_oz_fauna](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_oz_fauna_en_3_0.html)                                                                                                                                           | ViTForImageClassification |\n",
        "| en         | [en.classify_image.pasta_pizza_ravioli](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_pasta_pizza_ravioli_en_3_0.html)                                                                                                                     | [image_classifier_vit_pasta_pizza_ravioli](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_pasta_pizza_ravioli_en_3_0.html)                                                                                                                     | ViTForImageClassification |\n",
        "| en         | [en.classify_image.pasta_shapes](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_pasta_shapes_en_3_0.html)                                                                                                                                   | [image_classifier_vit_pasta_shapes](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_pasta_shapes_en_3_0.html)                                                                                                                                   | ViTForImageClassification |\n",
        "| en         | [en.classify_image.places](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_places_en_3_0.html)                                                                                                                                               | [image_classifier_vit_places](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_places_en_3_0.html)                                                                                                                                               | ViTForImageClassification |\n",
        "| en         | [en.classify_image.planes_airlines](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_planes_airlines_en_3_0.html)                                                                                                                             | [image_classifier_vit_planes_airlines](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_planes_airlines_en_3_0.html)                                                                                                                             | ViTForImageClassification |\n",
        "| en         | [en.classify_image.planes_trains_automobiles](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_planes_trains_automobiles_en_3_0.html)                                                                                                         | [image_classifier_vit_planes_trains_automobiles](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_planes_trains_automobiles_en_3_0.html)                                                                                                         | ViTForImageClassification |\n",
        "| en         | [en.classify_image.platzi__base_beans_omar_espejel](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_platzi__base_beans_omar_espejel_en_3_0.html)                                                                                             | [image_classifier_vit_platzi__base_beans_omar_espejel](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_platzi__base_beans_omar_espejel_en_3_0.html)                                                                                             | ViTForImageClassification |\n",
        "| en         | [en.classify_image.pneumonia_bielefeld_dl_course](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_pneumonia_bielefeld_dl_course_en_3_0.html)                                                                                                 | [image_classifier_vit_pneumonia_bielefeld_dl_course](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_pneumonia_bielefeld_dl_course_en_3_0.html)                                                                                                 | ViTForImageClassification |\n",
        "| en         | [en.classify_image.pneumonia_test_attempt](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_pneumonia_test_attempt_en_3_0.html)                                                                                                               | [image_classifier_vit_pneumonia_test_attempt](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_pneumonia_test_attempt_en_3_0.html)                                                                                                               | ViTForImageClassification |\n",
        "| en         | [en.classify_image.pond](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_pond_en_3_0.html)                                                                                                                                                   | [image_classifier_vit_pond](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_pond_en_3_0.html)                                                                                                                                                   | ViTForImageClassification |\n",
        "| en         | [en.classify_image.pond_image_classification_1](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_pond_image_classification_1_en_3_0.html)                                                                                                     | [image_classifier_vit_pond_image_classification_1](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_pond_image_classification_1_en_3_0.html)                                                                                                     | ViTForImageClassification |\n",
        "| en         | [en.classify_image.pond_image_classification_10](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_pond_image_classification_10_en_3_0.html)                                                                                                   | [image_classifier_vit_pond_image_classification_10](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_pond_image_classification_10_en_3_0.html)                                                                                                   | ViTForImageClassification |\n",
        "| en         | [en.classify_image.pond_image_classification_11](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_pond_image_classification_11_en_3_0.html)                                                                                                   | [image_classifier_vit_pond_image_classification_11](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_pond_image_classification_11_en_3_0.html)                                                                                                   | ViTForImageClassification |\n",
        "| en         | [en.classify_image.pond_image_classification_12](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_pond_image_classification_12_en_3_0.html)                                                                                                   | [image_classifier_vit_pond_image_classification_12](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_pond_image_classification_12_en_3_0.html)                                                                                                   | ViTForImageClassification |\n",
        "| en         | [en.classify_image.pond_image_classification_2](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_pond_image_classification_2_en_3_0.html)                                                                                                     | [image_classifier_vit_pond_image_classification_2](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_pond_image_classification_2_en_3_0.html)                                                                                                     | ViTForImageClassification |\n",
        "| en         | [en.classify_image.pond_image_classification_3](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_pond_image_classification_3_en_3_0.html)                                                                                                     | [image_classifier_vit_pond_image_classification_3](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_pond_image_classification_3_en_3_0.html)                                                                                                     | ViTForImageClassification |\n",
        "| en         | [en.classify_image.pond_image_classification_4](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_pond_image_classification_4_en_3_0.html)                                                                                                     | [image_classifier_vit_pond_image_classification_4](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_pond_image_classification_4_en_3_0.html)                                                                                                     | ViTForImageClassification |\n",
        "| en         | [en.classify_image.pond_image_classification_5](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_pond_image_classification_5_en_3_0.html)                                                                                                     | [image_classifier_vit_pond_image_classification_5](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_pond_image_classification_5_en_3_0.html)                                                                                                     | ViTForImageClassification |\n",
        "| en         | [en.classify_image.pond_image_classification_6](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_pond_image_classification_6_en_3_0.html)                                                                                                     | [image_classifier_vit_pond_image_classification_6](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_pond_image_classification_6_en_3_0.html)                                                                                                     | ViTForImageClassification |\n",
        "| en         | [en.classify_image.pond_image_classification_7](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_pond_image_classification_7_en_3_0.html)                                                                                                     | [image_classifier_vit_pond_image_classification_7](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_pond_image_classification_7_en_3_0.html)                                                                                                     | ViTForImageClassification |\n",
        "| en         | [en.classify_image.pond_image_classification_8](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_pond_image_classification_8_en_3_0.html)                                                                                                     | [image_classifier_vit_pond_image_classification_8](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_pond_image_classification_8_en_3_0.html)                                                                                                     | ViTForImageClassification |\n",
        "| en         | [en.classify_image.pond_image_classification_9](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_pond_image_classification_9_en_3_0.html)                                                                                                     | [image_classifier_vit_pond_image_classification_9](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_pond_image_classification_9_en_3_0.html)                                                                                                     | ViTForImageClassification |\n",
        "| en         | [en.classify_image.puppies_classify](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_puppies_classify_en_3_0.html)                                                                                                                           | [image_classifier_vit_puppies_classify](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_puppies_classify_en_3_0.html)                                                                                                                           | ViTForImageClassification |\n",
        "| en         | [en.classify_image.rare_bottle](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_rare_bottle_en_3_0.html)                                                                                                                                     | [image_classifier_vit_rare_bottle](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_rare_bottle_en_3_0.html)                                                                                                                                     | ViTForImageClassification |\n",
        "| en         | [en.classify_image.rare_puppers](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_rare_puppers_en_3_0.html)                                                                                                                                   | [image_classifier_vit_rare_puppers](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_rare_puppers_en_3_0.html)                                                                                                                                   | ViTForImageClassification |\n",
        "| en         | [en.classify_image.rare_puppers2](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_rare_puppers2_en_3_0.html)                                                                                                                                 | [image_classifier_vit_rare_puppers2](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_rare_puppers2_en_3_0.html)                                                                                                                                 | ViTForImageClassification |\n",
        "| en         | [en.classify_image.rare_puppers3](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_rare_puppers3_en_3_0.html)                                                                                                                                 | [image_classifier_vit_rare_puppers3](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_rare_puppers3_en_3_0.html)                                                                                                                                 | ViTForImageClassification |\n",
        "| en         | [en.classify_image.rare_puppers_09_04_2021](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_rare_puppers_09_04_2021_en_3_0.html)                                                                                                             | [image_classifier_vit_rare_puppers_09_04_2021](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_rare_puppers_09_04_2021_en_3_0.html)                                                                                                             | ViTForImageClassification |\n",
        "| en         | [en.classify_image.rare_puppers_demo](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_rare_puppers_demo_en_3_0.html)                                                                                                                         | [image_classifier_vit_rare_puppers_demo](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_rare_puppers_demo_en_3_0.html)                                                                                                                         | ViTForImageClassification |\n",
        "| en         | [en.classify_image.rare_puppers_new_auth](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_rare_puppers_new_auth_en_3_0.html)                                                                                                                 | [image_classifier_vit_rare_puppers_new_auth](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_rare_puppers_new_auth_en_3_0.html)                                                                                                                 | ViTForImageClassification |\n",
        "| en         | [en.classify_image.resnet_50_euroSat](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_resnet_50_euroSat_en_3_0.html)                                                                                                                         | [image_classifier_vit_resnet_50_euroSat](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_resnet_50_euroSat_en_3_0.html)                                                                                                                         | ViTForImageClassification |\n",
        "| en         | [en.classify_image.resnet_50_ucSat](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_resnet_50_ucSat_en_3_0.html)                                                                                                                             | [image_classifier_vit_resnet_50_ucSat](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_resnet_50_ucSat_en_3_0.html)                                                                                                                             | ViTForImageClassification |\n",
        "| en         | [en.classify_image.road_good_damaged_condition](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_road_good_damaged_condition_en_3_0.html)                                                                                                     | [image_classifier_vit_road_good_damaged_condition](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_road_good_damaged_condition_en_3_0.html)                                                                                                     | ViTForImageClassification |\n",
        "| en         | [en.classify_image.robot2](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_robot2_en_3_0.html)                                                                                                                                               | [image_classifier_vit_robot2](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_robot2_en_3_0.html)                                                                                                                                               | ViTForImageClassification |\n",
        "| en         | [en.classify_image.robot22](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_robot22_en_3_0.html)                                                                                                                                             | [image_classifier_vit_robot22](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_robot22_en_3_0.html)                                                                                                                                             | ViTForImageClassification |\n",
        "| en         | [en.classify_image.rock_challenge_DeiT_solo](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_rock_challenge_DeiT_solo_en_3_0.html)                                                                                                           | [image_classifier_vit_rock_challenge_DeiT_solo](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_rock_challenge_DeiT_solo_en_3_0.html)                                                                                                           | ViTForImageClassification |\n",
        "| en         | [en.classify_image.rock_challenge_DeiT_solo_2](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_rock_challenge_DeiT_solo_2_en_3_0.html)                                                                                                       | [image_classifier_vit_rock_challenge_DeiT_solo_2](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_rock_challenge_DeiT_solo_2_en_3_0.html)                                                                                                       | ViTForImageClassification |\n",
        "| en         | [en.classify_image.rock_challenge_ViT_two_by_two](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_rock_challenge_ViT_two_by_two_en_3_0.html)                                                                                                 | [image_classifier_vit_rock_challenge_ViT_two_by_two](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_rock_challenge_ViT_two_by_two_en_3_0.html)                                                                                                 | ViTForImageClassification |\n",
        "| en         | [en.classify_image.roomclassifier](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_roomclassifier_en_3_0.html)                                                                                                                               | [image_classifier_vit_roomclassifier](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_roomclassifier_en_3_0.html)                                                                                                                               | ViTForImageClassification |\n",
        "| en         | [en.classify_image.roomidentifier](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_roomidentifier_en_3_0.html)                                                                                                                               | [image_classifier_vit_roomidentifier](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_roomidentifier_en_3_0.html)                                                                                                                               | ViTForImageClassification |\n",
        "| en         | [en.classify_image.rust_image_classification_1](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_rust_image_classification_1_en_3_0.html)                                                                                                     | [image_classifier_vit_rust_image_classification_1](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_rust_image_classification_1_en_3_0.html)                                                                                                     | ViTForImageClassification |\n",
        "| en         | [en.classify_image.rust_image_classification_10](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_rust_image_classification_10_en_3_0.html)                                                                                                   | [image_classifier_vit_rust_image_classification_10](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_rust_image_classification_10_en_3_0.html)                                                                                                   | ViTForImageClassification |\n",
        "| en         | [en.classify_image.rust_image_classification_11](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_rust_image_classification_11_en_3_0.html)                                                                                                   | [image_classifier_vit_rust_image_classification_11](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_rust_image_classification_11_en_3_0.html)                                                                                                   | ViTForImageClassification |\n",
        "| en         | [en.classify_image.rust_image_classification_12](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_rust_image_classification_12_en_3_0.html)                                                                                                   | [image_classifier_vit_rust_image_classification_12](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_rust_image_classification_12_en_3_0.html)                                                                                                   | ViTForImageClassification |\n",
        "| en         | [en.classify_image.rust_image_classification_2](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_rust_image_classification_2_en_3_0.html)                                                                                                     | [image_classifier_vit_rust_image_classification_2](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_rust_image_classification_2_en_3_0.html)                                                                                                     | ViTForImageClassification |\n",
        "| en         | [en.classify_image.rust_image_classification_3](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_rust_image_classification_3_en_3_0.html)                                                                                                     | [image_classifier_vit_rust_image_classification_3](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_rust_image_classification_3_en_3_0.html)                                                                                                     | ViTForImageClassification |\n",
        "| en         | [en.classify_image.rust_image_classification_4](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_rust_image_classification_4_en_3_0.html)                                                                                                     | [image_classifier_vit_rust_image_classification_4](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_rust_image_classification_4_en_3_0.html)                                                                                                     | ViTForImageClassification |\n",
        "| en         | [en.classify_image.rust_image_classification_5](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_rust_image_classification_5_en_3_0.html)                                                                                                     | [image_classifier_vit_rust_image_classification_5](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_rust_image_classification_5_en_3_0.html)                                                                                                     | ViTForImageClassification |\n",
        "| en         | [en.classify_image.rust_image_classification_6](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_rust_image_classification_6_en_3_0.html)                                                                                                     | [image_classifier_vit_rust_image_classification_6](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_rust_image_classification_6_en_3_0.html)                                                                                                     | ViTForImageClassification |\n",
        "| en         | [en.classify_image.rust_image_classification_7](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_rust_image_classification_7_en_3_0.html)                                                                                                     | [image_classifier_vit_rust_image_classification_7](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_rust_image_classification_7_en_3_0.html)                                                                                                     | ViTForImageClassification |\n",
        "| en         | [en.classify_image.rust_image_classification_8](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_rust_image_classification_8_en_3_0.html)                                                                                                     | [image_classifier_vit_rust_image_classification_8](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_rust_image_classification_8_en_3_0.html)                                                                                                     | ViTForImageClassification |\n",
        "| en         | [en.classify_image.rust_image_classification_9](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_rust_image_classification_9_en_3_0.html)                                                                                                     | [image_classifier_vit_rust_image_classification_9](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_rust_image_classification_9_en_3_0.html)                                                                                                     | ViTForImageClassification |\n",
        "| en         | [en.classify_image.sea_mammals](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_sea_mammals_en_3_0.html)                                                                                                                                     | [image_classifier_vit_sea_mammals](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_sea_mammals_en_3_0.html)                                                                                                                                     | ViTForImageClassification |\n",
        "| en         | [en.classify_image.shirt_identifier](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_shirt_identifier_en_3_0.html)                                                                                                                           | [image_classifier_vit_shirt_identifier](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_shirt_identifier_en_3_0.html)                                                                                                                           | ViTForImageClassification |\n",
        "| en         | [en.classify_image.simple_kitchen](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_simple_kitchen_en_3_0.html)                                                                                                                               | [image_classifier_vit_simple_kitchen](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_simple_kitchen_en_3_0.html)                                                                                                                               | ViTForImageClassification |\n",
        "| en         | [en.classify_image.skin_type](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_skin_type_en_3_0.html)                                                                                                                                         | [image_classifier_vit_skin_type](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_skin_type_en_3_0.html)                                                                                                                                         | ViTForImageClassification |\n",
        "| en         | [en.classify_image.snacks](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_snacks_en_3_0.html)                                                                                                                                               | [image_classifier_vit_snacks](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_snacks_en_3_0.html)                                                                                                                                               | ViTForImageClassification |\n",
        "| en         | [en.classify_image.south_indian_foods](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_south_indian_foods_en_3_0.html)                                                                                                                       | [image_classifier_vit_south_indian_foods](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_south_indian_foods_en_3_0.html)                                                                                                                       | ViTForImageClassification |\n",
        "| en         | [en.classify_image.string_instrument_detector](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_string_instrument_detector_en_3_0.html)                                                                                                       | [image_classifier_vit_string_instrument_detector](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_string_instrument_detector_en_3_0.html)                                                                                                       | ViTForImageClassification |\n",
        "| en         | [en.classify_image.taco_or_what](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_taco_or_what_en_3_0.html)                                                                                                                                   | [image_classifier_vit_taco_or_what](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_taco_or_what_en_3_0.html)                                                                                                                                   | ViTForImageClassification |\n",
        "| en         | [en.classify_image.teeth_test](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_teeth_test_en_3_0.html)                                                                                                                                       | [image_classifier_vit_teeth_test](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_teeth_test_en_3_0.html)                                                                                                                                       | ViTForImageClassification |\n",
        "| en         | [en.classify_image.teeth_verify](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_teeth_verify_en_3_0.html)                                                                                                                                   | [image_classifier_vit_teeth_verify](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_teeth_verify_en_3_0.html)                                                                                                                                   | ViTForImageClassification |\n",
        "| en         | [en.classify_image.test](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_test_en_3_0.html)                                                                                                                                                   | [image_classifier_vit_test](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_test_en_3_0.html)                                                                                                                                                   | ViTForImageClassification |\n",
        "| en         | [en.classify_image.test_model_a](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_test_model_a_en_3_0.html)                                                                                                                                   | [image_classifier_vit_test_model_a](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_test_model_a_en_3_0.html)                                                                                                                                   | ViTForImageClassification |\n",
        "| en         | [en.classify_image.tiny__random](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_tiny__random_en_3_0.html)                                                                                                                                   | [image_classifier_vit_tiny__random](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_tiny__random_en_3_0.html)                                                                                                                                   | ViTForImageClassification |\n",
        "| en         | [en.classify_image.tiny_patch16_224](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_tiny_patch16_224_en_3_0.html)                                                                                                                           | [image_classifier_vit_tiny_patch16_224](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_tiny_patch16_224_en_3_0.html)                                                                                                                           | ViTForImageClassification |\n",
        "| en         | [en.classify_image.trainer_rare_puppers](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_trainer_rare_puppers_en_3_0.html)                                                                                                                   | [image_classifier_vit_trainer_rare_puppers](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_trainer_rare_puppers_en_3_0.html)                                                                                                                   | ViTForImageClassification |\n",
        "| en         | [en.classify_image.upside_down_classifier](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_upside_down_classifier_en_3_0.html)                                                                                                               | [image_classifier_vit_upside_down_classifier](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_upside_down_classifier_en_3_0.html)                                                                                                               | ViTForImageClassification |\n",
        "| en         | [en.classify_image.vc_bantai__withoutAMBI](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_vc_bantai__withoutAMBI_en_3_0.html)                                                                                                               | [image_classifier_vit_vc_bantai__withoutAMBI](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_vc_bantai__withoutAMBI_en_3_0.html)                                                                                                               | ViTForImageClassification |\n",
        "| en         | [en.classify_image.vc_bantai__withoutAMBI_adunest](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_vc_bantai__withoutAMBI_adunest_en_3_0.html)                                                                                               | [image_classifier_vit_vc_bantai__withoutAMBI_adunest](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_vc_bantai__withoutAMBI_adunest_en_3_0.html)                                                                                               | ViTForImageClassification |\n",
        "| en         | [en.classify_image.vc_bantai__withoutAMBI_adunest_trial](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_vc_bantai__withoutAMBI_adunest_trial_en_3_0.html)                                                                                   | [image_classifier_vit_vc_bantai__withoutAMBI_adunest_trial](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_vc_bantai__withoutAMBI_adunest_trial_en_3_0.html)                                                                                   | ViTForImageClassification |\n",
        "| en         | [en.classify_image.vc_bantai__withoutAMBI_adunest_v1](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_vc_bantai__withoutAMBI_adunest_v1_en_3_0.html)                                                                                         | [image_classifier_vit_vc_bantai__withoutAMBI_adunest_v1](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_vc_bantai__withoutAMBI_adunest_v1_en_3_0.html)                                                                                         | ViTForImageClassification |\n",
        "| en         | [en.classify_image.vc_bantai__withoutAMBI_adunest_v2](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_vc_bantai__withoutAMBI_adunest_v2_en_3_0.html)                                                                                         | [image_classifier_vit_vc_bantai__withoutAMBI_adunest_v2](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_vc_bantai__withoutAMBI_adunest_v2_en_3_0.html)                                                                                         | ViTForImageClassification |\n",
        "| en         | [en.classify_image.vc_bantai__withoutAMBI_adunest_v3](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_vc_bantai__withoutAMBI_adunest_v3_en_3_0.html)                                                                                         | [image_classifier_vit_vc_bantai__withoutAMBI_adunest_v3](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_vc_bantai__withoutAMBI_adunest_v3_en_3_0.html)                                                                                         | ViTForImageClassification |\n",
        "| en         | [en.classify_image.violation_classification_bantai_](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_violation_classification_bantai__en_3_0.html)                                                                                           | [image_classifier_vit_violation_classification_bantai_](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_violation_classification_bantai__en_3_0.html)                                                                                           | ViTForImageClassification |\n",
        "| en         | [en.classify_image.violation_classification_bantai__v100ep](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_violation_classification_bantai__v100ep_en_3_0.html)                                                                             | [image_classifier_vit_violation_classification_bantai__v100ep](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_violation_classification_bantai__v100ep_en_3_0.html)                                                                             | ViTForImageClassification |\n",
        "| en         | [en.classify_image.violation_classification_bantai__v80ep](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_violation_classification_bantai__v80ep_en_3_0.html)                                                                               | [image_classifier_vit_violation_classification_bantai__v80ep](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_violation_classification_bantai__v80ep_en_3_0.html)                                                                               | ViTForImageClassification |\n",
        "| en         | [en.classify_image.violation_classification_bantai__withES](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_violation_classification_bantai__withES_en_3_0.html)                                                                             | [image_classifier_vit_violation_classification_bantai__withES](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_violation_classification_bantai__withES_en_3_0.html)                                                                             | ViTForImageClassification |\n",
        "| en         | [en.classify_image.vision_transformer_fmri_classification_ft](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_vision_transformer_fmri_classification_ft_en_3_0.html)                                                                         | [image_classifier_vit_vision_transformer_fmri_classification_ft](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_vision_transformer_fmri_classification_ft_en_3_0.html)                                                                         | ViTForImageClassification |\n",
        "| en         | [en.classify_image.vision_transformer_v3](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_vision_transformer_v3_en_3_0.html)                                                                                                                 | [image_classifier_vit_vision_transformer_v3](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_vision_transformer_v3_en_3_0.html)                                                                                                                 | ViTForImageClassification |\n",
        "| en         | [en.classify_image.vision_transformers_spain_or_italy_fan](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_vision_transformers_spain_or_italy_fan_en_3_0.html)                                                                               | [image_classifier_vit_vision_transformers_spain_or_italy_fan](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_vision_transformers_spain_or_italy_fan_en_3_0.html)                                                                               | ViTForImageClassification |\n",
        "| en         | [en.classify_image.vliegmachine](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_vliegmachine_en_3_0.html)                                                                                                                                   | [image_classifier_vit_vliegmachine](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_vliegmachine_en_3_0.html)                                                                                                                                   | ViTForImageClassification |\n",
        "| en         | [en.classify_image.where_am_I_hospital_balcony_hallway_airport_coffee_house](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_where_am_I_hospital_balcony_hallway_airport_coffee_house_en_3_0.html)                                           | [image_classifier_vit_where_am_I_hospital_balcony_hallway_airport_coffee_house](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_where_am_I_hospital_balcony_hallway_airport_coffee_house_en_3_0.html)                                           | ViTForImageClassification |\n",
        "| en         | [en.classify_image.where_am_I_hospital_balcony_hallway_airport_coffee_house_apartment_office](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_where_am_I_hospital_balcony_hallway_airport_coffee_house_apartment_office_en_3_0.html)         | [image_classifier_vit_where_am_I_hospital_balcony_hallway_airport_coffee_house_apartment_office](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_where_am_I_hospital_balcony_hallway_airport_coffee_house_apartment_office_en_3_0.html)         | ViTForImageClassification |\n",
        "| en         | [en.classify_image.world_landmarks](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_world_landmarks_en_3_0.html)                                                                                                                             | [image_classifier_vit_world_landmarks](https://nlp.johnsnowlabs.com/2022/08/10/image_classifier_vit_world_landmarks_en_3_0.html)                                                                                                                             | ViTForImageClassification |\n",
        "\n",
        "\n"
      ],
      "metadata": {
        "id": "12hqaYwl8oq8"
      }
    }
  ]
}